The CreatorCon Call for Content is officially open! Get started here.

flow designer wait for condition action is not working

dhananjay21
Giga Guru

I have created a flow, added a action- wait for condition but it is not working as expected.

It has been stuck when the condition is met unable to get what the issue is can any one help.

find_real_file.png   

11 REPLIES 11

dariusz_szybows
Tera Contributor

It's late replay but I was facing the same issue.

Actually the "Wait for condition" is NOT supported on all the tables.

Please check this page: https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/flow-designer/referen...

In your case the tables like 

Import Set [sys_import_set], Import Set Row [sys_import_set_row], Import Set Row Error [sys_import_set_row_error], Transform History [sys_import_set_run], Computer [imp_computer], Notification [imp_notification], Location [imp_location], User [imp_user]

are NOT supported.

Thanks.

hunter_phillips
Tera Contributor

I believe this is because in Flow Designer, the values for the Trigger Record are static, ie updates to the trigger record aren't 'registered' by flow designer, so your Wait For Condition is never passing.

IMO its an annoying feature of Flow Designer, but basically you have to lookup the trigger record any time you want to check its latest state. 

Inside the Do the following branch, there is a step for looking up the incident record. This is necessary because the record that triggers the flow is only loaded when it is triggered. By adding this look up step, you can get the current state of the incident

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/flow-designer/concept...

Hi hunter.phillips,

I tried with do ...until and the looking up and wanted to log the value of a field when flow is trigerred and value of when the record is being looked up. Both times it gives back only the new value. In this case we talk about dates.

find_real_file.pngLog:
 find_real_file.png
Record update:
find_real_file.png

@Janet do you mind sharing what happens in the flow in between the Trigger and the Do Until step?

Is there a 'wait' activity or anything in the flow that should account for a date change?

@hunter.phillips 

Between Trigger and Do Until are other checks and update of states;
No wait step for change because it is not mandatory to be changed.
I am trying to catch a change/update on the date to fulfill my logic.

 

I believe if i go into 'wait for' activity my flow will never end or proceed to next step

find_real_file.png

find_real_file.png