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.

Re-Run workflow upon failure

Jon-Knepper
8 - Asteroid

Hello Community!  I am currently trying to solve a problem.  At times when running workflows with the Salesforce input tool there is an occasional failure.  What I would like to do is re-run the workflow, which usually solves the issue, automatically.  Ultimately I plan to have these workflows scheduled on the server.  Does anyone have any experience with creating a post event on the workflow that is sent to the Alteryx Server API that would then tell the server to re-run the workflow?

 

I am very new to the Alteryx server API, but it seems like it would be more simple solution.

 

Thank you for your help!

2 REPLIES 2
davidskaife
14 - Magnetar

Hi @Jon-Knepper 

 

There is a good response here by @mceleavey that leverages the Events/Run Command option if the workflow fails after running on the Server - https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Re-run-workflow-if-error/td-p/726663

 

 

Jon-Knepper
8 - Asteroid

@davidskaife 

 

Thank you for directing me to this.  It looks like you would have to have a version stored on the server, the workflow that is running, and then another version stored in the network that it would run in the event of failure.  I am wondering if there could be version control issues at that point?

 

Would it be possible just to have a post event just fire off the same workflow again on the server as well as define how many times it can run?  That way if my workflow is failing due to user error or network outage I don't have an infinite loop of re-runs.

Labels
Top Solution Authors