We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to chain an application to itself with a variable number of repetitions.

ChrisBurgers
5 - Atom

I created an app that points back to itself in the "On Success - Run Another Analytic App" section of the Interface Designer. This has allowed me to run the application twice; however, I'd like to be able to run the application a variable number of times. For example, sometimes I only want to run it once and other times I may need it to run 20+ times.

 

Is that possible to do in designer and/or server? If so, how can this be accomplished?

 

 

3 REPLIES 3
MatthewO
Alteryx Alumni (Retired)

@ChrisBurgers chained applications cannot be executed in the manner that you have described. Does each app execution require a user input? Alteryx Supports the ability execute a process a variable number of times with Iterative Macros. Depending on your goal, and the need for user input, you could accomplish this with a macro.

PanPP
Alteryx Alumni (Retired)

Hi @ChrisBurgers 

 

You can use a Run Command tool in a batch or iterative macro and run a workflow from there in repetition.

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-to-run-a-workflow-from-an-event...

 

Applications cannot be automated as they will always require input once they are in Gallery.

 

Batch macro is a good option, the control parameter file could just be a column with a record id and row for each time you want it to run. 

 

 

 

Hope this helps, if it does please like this post and if it helps resolve your problem, mark it as a solution. If you have any other questions, please let us know.

ChrisBurgers
5 - Atom

Thanks for the information. This application requires input and would be ran from the Alteryx Gallery. 

Labels
Top Solution Authors