Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!
Free Trial

Alteryx Designer Desktop Discussions

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

Dynamically enable/disable container in current analytic app based on previous app result

jt98
7 - Meteor

Hi all,

I want the 2nd chained analytic app to disable a container and stop the tools within from running if the result from 1st analytic app count = 3, but enable the container and run the tools within if result = 4. But I have no idea how to update the action tool based on the results from 1st app. Would appreciate any help!

I have attached the package within. Thank you in advance!

4 REPLIES 4
Carlithian
11 - Bolide
11 - Bolide

 So I would go about this by editing the next workflows XML on the fly. 

This is what the XML looks like in designer

 

Carlithian_0-1666804177959.png

and reading it directly from the Alteryx file it looks like this

Carlithian_1-1666804293126.png

What you need to do is input the secondary workflow into the first (treat it as a csv, no delimiters and no header) 
then updated the segments for the relevant Node (each node is a tool) switching  between <Disabled value="False" /> and <Disabled value="True" /> as required. 

(Note you wont need any interface tool with these containers)

Then you need to save back over the workflow and it will be ready to be picked up down the chain :)

 

jt98
7 - Meteor

Hi there!

Is there a simpler way to this? I can't really follow the steps as I'm not familiar with XML

jt98
7 - Meteor
  • Hi there @Carlithian and @ChrisTX , 

    I dont think any of the posts there are applicable to my case. I want the solution such that when if the result from 1st analytic app count = 3, then run the analytic workflow made for count 3 (which will prompt user input for 3 options). If result = 4, then run the analytc workflow made for count 4 (which will prompt user input for 4 options). Is that possible?
Labels
Top Solution Authors