Restarting workflow that was completed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2023 12:03 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2023 05:23 AM
@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.