Workflow - "Wait for Condition" activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All,
I have put the Wait for Condition activity in the workflow with the condition:
1. Approval is Approved
2. A particular catalog task should be closed
then only the workflow should move forward but the WF is not moving forward. The WF is getting stuck at the Wait for Condition.
Can someone please tell me what is the issue and how that can be fixed?
Thanks,
Rooma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
To test you need to do this
1) add gs.info() in your wait for condition script
2) then mimic update in such a way that Close catalog task with that short description and see if the mimic on RITM update works
3) add gs.info() in that BR as well
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Ankur,
I tried all the 3 debugging method.
1. Log is getting captured in the System logs for the WF script.
2. Log is also getting captured in the System logs for the BR
3. Any update on the Review Task is not getting updated on the RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago