Workflow do not transition to the next activity even after the "Wait for Condition" result was true.

Aindrila Mondal
Tera Expert

Hi,

I'm working on a work flow for a catalog. My workflow is on 'sc_req_item' table.

We have an inbound action from where some values are captured and from there is stored on a separate custom table(not in any way related to RITM table) .I want to make the workflow wait until these values are set on the custom table fields .Once the values are set on the custom table fields the workflow should transition to the next step (i.e. close the RITM) after wait for condition.

 

This is the workflow below and the wait for condition script:

 

AindrilaMondal_0-1692707088673.png

 

Tried 2 ways of wait for condition script but neither worked:

1.

AindrilaMondal_1-1692707167436.png

2.

AindrilaMondal_2-1692707213350.png

Can please help me to understand where am I wrong and how to achieve the above.

 

Thanks in advance,

Aindrila

 

 

1 ACCEPTED SOLUTION

Hi Nayan,

Thanks for the documentation!!

Tried using a different approach which solved my issue, used timer to create a loop and keep checking until the values are updated, which helped in my case.

AindrilaMondal_0-1692776924526.png

 

Thanks for your inputs though!!

 

 

 

View solution in original post

5 REPLIES 5

Hello @Aindrila Mondal ,

Please mark my answer as accepted solution if it helped you. you can mark multiple answers a correct.

 

 

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.