why Wait for condition cancelled in workflow

Saif Al-Bashiti
Mega Expert

Hello expert!

I have a simple workflow , (WAIT FOR CONDITION ) If ( x > y ) >> then wait to be ( x < y )

but the WAIT FOR CONDITION turn to cancelld ! why that ? please save my day

1 ACCEPTED SOLUTION

Saif Al-Bashiti
Mega Expert

After hard week , I have solve this issue by adding a timer for 3 second before " Wait for condition " 

I found this tip in SNOW doc : 

 

Note: A Wait for condition activity should only be used to wait for an external event such as a record update, and not one from a workflow setting a value. If you have a workflow setting a value and want to wait for that same field to be seen as 'changed,' try inserting a one-second timer. " 

 

ref : https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/administer/workflow-activities/reference/r_WaitForCondition.html

View solution in original post

10 REPLIES 10

Elijah Aromola
Mega Sage

Can you post a screenshot of your workflow?

Hi Elijah,

 

please note : its work , until the condition meet the " wait for condition " , please help me

 

find_real_file.png

 

 

 

< After execute

 

find_real_file.png

The returned line is setting the state to returned, correct? Try doing a rollback to instead of a wait for.

Please NO , I need to use " Wait condition " 

NOTE : I try a very very simple workflow ( another one ) just includes 2 activity 

SET VALUE & " WAIT CONDITION " , and its still not working!!!!!