- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2020 04:52 AM
Hello,
There is an issue with some request items we have in our system. The workflow has a join activity which is stuck in 'Running'. The reason it is stuck in 'Running' is because it has two activities merging into it, but only one or the other will happen each time, not both. Therefore, since both will never join in the workflow is stuck. How do I go about forcing the join activity to move along to the next activity so the workflow will finish?
Here is an image of a workflow:
Thanks,
David
Solved! Go to Solution.
- Labels:
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2020 10:34 AM
What I ended up doing was running a script to cancel the workflow context for all 199 workflows. I then ran a script to update the Stage to 'Complete' on all the request items since they were set to 'Closed Incomplete' by the cancellation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2020 05:05 AM
Hi David,
In this case, you can remove the Join activity from the workflow, as you stated only one task will be generated not the both.
There is IF activity before the JOIN, which is handling Yes or No.
if it is YES then it is routing for a task and If it is No then it is routing for another task. Then, in this case, there is no necessity for the JOIN activity. You can remove it from workflow and directly make the workflow to route for the next level.
Thank you.
Hope this is Helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2020 05:10 AM
But how do I move along the workflows already started?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2020 05:19 AM
Hi David,
At this point you cannot do anything for the workflows that are already started. You may script to get the list of existing RITM that are open with one task is completed and close the other task so the workflow will continue to its next activity.
you have to write a fix script. But this is just a fix and once you follow the above
-Vinay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2020 05:48 AM
Hi David,
You can cancel the existing workflows and start the new workflow. Here is the official documentation how to restart new version of workflow.
https://developer.servicenow.com/app.do#!/api_doc?v=madrid&id=r_WF-restartWorkflow_GR_B
Thank you.