Workflow - "Wait for Condition" activity

roomawakar
Tera Contributor

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

12 REPLIES 12

@roomawakar 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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.

Can you please reverify the screenshots attached for the WF and BR.

 

Thanks,

Rooma