You are viewing limited content. For full access, please sign in.

Question

Question

Rerun a terminated workflow

asked on September 8, 2020

We had a host go down this morning and it cause some 20 workflows to terminate, these were started via forms but were ran through a Try-Catch with a "Terminate Workflow" activity (not my decision to put that there). Forms were also completed as well since the Workflow was the last part and wasn't set to wait until it was completed. 

So with the Forms and Workflow both being completed, is there any way to rerun the Workflow with the field data, restart a completed workflow to rerun that section or do these need to be started from scratch?

0 0

Answer

SELECTED ANSWER
replied on September 8, 2020

Hi there-

From what I've experienced, running a WF on a specific forms instance is clunky but can be done. If you click on the settings icon of the Retrieve Business Process Variables activity, you'll see you can manually enter the Instance ID and Submission ID.

So, for your case, you'll want to:

  1. Create a separate copy of the Workflow to use with these values entered manually
  2. Looking at the tokens of the terminated workflows should show you these IDs that you can then enter.
  3. For each terminated instance, enter the proper IDs, publish, run manually. Repeat with the next pair of IDs.

 

4 0
replied on September 9, 2020

This should work, I need to rework all the tokens and give it a shot but i'll let you know.

 

0 0

Replies

replied on November 4, 2022

Pieter's solution worked like a charm for me...thank you!

1 0
replied on November 4, 2024

Adding another vote for Pieter's suggestion, it worked for us when form process was not designed to wait for workflows and instances couldn't be retried easily after wf issue was resolved

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.