Restarting workflow that was completed.

AshwinV
Tera Contributor

Hi,

 

Restarting a workflow is creating a new workflow context is this a  expected behavior.

 Scenario is that request item was completed(workflow also completed) and workflow was updated. After which the request was reopened again which caused both old version and new version workflow to run at same time creating 2 workflow context to run. Is this a expected behavior, if not how to avoid this scenario.

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@AshwinV I tested this scenario on my PDI and each time I restarted a finished workflow it always created only single record. Once the workflow restarts the existing finished state changes to Executing. You can verify this behaviour on a personal developer instance. 

 

You can raise a support case on ServiceNow to check why your instance is creating two separate contexts when restarting a finished workflow.

 

Screenshot 2023-07-28 at 5.49.27 PM.png