Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic tool configuration with values from workflow

Stephen_2
6 - Meteoroid

Hi All,

 

Not sure if I'm missing something obvious here, I'm trying to use the interface tool "Action -> Update Value" to update a config attribute of a tool but instead of using a macro input I want to use a value generated within the workflow.

 

For instance using a summarize tool to pull the maximum and minimum of a list of numbers that are going to graphed. Then using those numbers as inputs to an action tool to directly update the parameters that control the display range of the Interactive Chart tool (Thus allowing me to define custom buffers on either side of the data for graphing). This is shown in the workflow attached.

 

For almost all other tools this can be achieved with an "append fields" and then use the new field as part of the config but some tools have config that can't be set with an incoming field. For reference another example I have found is updating N records to pull in a "Sample" tool. 

 

Figuring out this function would provide a lot of new functions and definitely clean up some of my workflows by removing append fields tools. 

 

Cheers,

Stephen

2 REPLIES 2
AkimasaKajitani
17 - Castor
17 - Castor

Hi @Stephen_2 

 

I think what you want to do can probably be accomplished by a Batch Macro.

In the Macro, you add the control parameters, the control parameters overwrite the parameters of the tool through the action tool.

 

Workflow

AkimasaKajitani_1-1604893591064.png

 

Batch Macro

AkimasaKajitani_0-1604893576502.png

 

Please refer attached workflow.

Stephen_2
6 - Meteoroid

Hi 

 

Thanks for the suggestion, I've just had a go with this and it looks good. Appreciate your input! 

 

Cheers,

Stephen

Labels
Top Solution Authors