I have around 200 existing workflows, and I want to connect it to another workflow. When the any of the 200 workflow is run, the output should be the input of the new workflow i will be uploading.
Possible solutions are:
Chaining the Apps and using run command to execute another workflow.
Is there a way where I do not need to open each and every 200 workflow to chain them? can it be done in the server setting itself?
Hi @abhi943 ,
Very interesting use case! It would be nice to have something like this in Alteryx, but unfortunately, we don`t have it. 🙁
Run command or the crew macros would work for local workflows, not the ones published onto the Gallery.
If you want to run Gallery workflows, I suggest creating a macro that uses the Gallery APIs to call this workflow. Here is how a envision this:
Not sure if I was clear enough. Let me know if you have any questions.
Best,
Fernando Vizcaino
Hi @fmvizcaino ,
Thank you for the response.
I do have a question, Can we run a python script or usi API to acheive this? or any other workaround?. That would be really helpful
Hi @abhi943 ,
Not sure I understood what you meant by 'this' so I will take a guess.
If you are looking for a way not to change the workflows and trigger them somehow, you could create a Python script that runs every 5 seconds, checking if there are new jobs for a specific workflow. Not ideal since you would be checking 200 workflows every 5 seconds, but you can. https://help.alteryx.com/current/en/server/api-overview/alteryx-server-api-v3/server-api-v3-objects/...
Another option is to connect to Alteryx`s back end and check for new jobs similarly to my previous suggestion. You have a collection called AS_queue that registers all the executions.
Best,
Fernando Vizcaino