Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Checkbox to collapse group when selected. How to continue workflow when collapsed

wonka1234
10 - Fireball

Hi,

How can I collapse a container and have my workflow continue?

So i believe when i am collapsing this with analytic app, it is causing my workflow to stop and leading to error msg: Join (71): Both left and right inputs must have connections.

wonka1234_1-1678203402049.png

 

wonka1234_0-1678203377022.png

 

6 REPLIES 6
Robin_McIntosh
11 - Bolide

Use a condition tool to enable/disable containers based on the value(s) of one or more interface values.  Here's an example.

2 Input files; one of ID and name, the other of ID and department.

The interface asks if you want to join the two inputs (checkbox = Y).

If checked, then the container joining the 2 inputs is enabled and run with the resulting browse tool displaying results.

 

Robin_McIntosh_0-1678204754621.png

 

wonka1234
10 - Fireball

@Robin_McIntosh 

getting the same error, my workflow looks like this now:

 

wonka1234_0-1678205565224.png

I think the issue is if unselected, the workflow stops. and doesnt continue.

I need it to continue regardless if the box is collapsed or not.

Robin_McIntosh
11 - Bolide

@wonka1234  After thinking of your scenario, it may be best to use a detour as shown here.

 

If the Checkbox is valued in the interface, then the right route of the detour is taken.  If left unchecked, then the left route is taken.  Then they come back together and the results of which ever route was taken is used.

 

Robin_McIntosh_1-1678282782510.png

 

wonka1234
10 - Fireball

@Robin_McIntosh 

cant seem to get it right, could you see my sample workflow?

Robin_McIntosh
11 - Bolide

@wonka1234  - I saw 2 things that needed to be fixed; updated app attached.  Hope this gets you where you need to be.

1 - You had both the first Checkbox and Condition going to the Action tool of the Detour which was not allowing you to choose/change the detour route.  Only need the Condition going to the action.

2 - The list you were creating (Team, City, Playoffs) was actually creating them as "Team", "City", "Playoffs" which did not match the actual field names.

 

Robin_McIntosh_0-1678289313317.png 

Robin_McIntosh_1-1678289338032.pngRobin_McIntosh_2-1678289361968.png

 

Updated workflow:

Robin_McIntosh_3-1678289401751.png

 

Based on your input file, I chose to delimit the City field as Milwaukee has an underscore.  So I delimited City based on the underscore into 2 columns.

Robin_McIntosh_4-1678289500330.png

 

 

wonka1234
10 - Fireball

@Robin_McIntosh  thanks!! anyway i can make this a collapsible box? it will make my app look cleaner!

Labels