wait for condition in subflow

Negha1
Tera Contributor

I have a subflow, where i wanted to add wait for condition with incident state to be checked in the condition.

but the table field i cannot select in the wait for condition action in subflow, the drop down is not working. without selecting table, i cannot give condition to check the state 

Negha1_0-1762761482313.png

why it is not coming, or what to do next?

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Negha1 

you need to select the table first and also mention the record against which you need to wait.

that's OOTB behavior

šŸ’” If my response helped, please mark it as correct āœ… and close the thread šŸ”’ā€” this helps future readers find the solution faster! šŸ™

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

G Ponsekar
Giga Guru

Hi @Negha1 ,

 

The issue with the "Wait For Condition" action in a subflow, where the table field dropdown is unselectable, is a known behavior or potential issue in Flow Designer, and it typically relates to how the record is passed to the subflow. The Wait for Condition action needs a specific record reference to monitor

 

The "Wait For Condition" action requires a single, valid record reference as an input to the action. If the table dropdown is not working, it usually means the action doesn't know which record's table it should be looking at. 
  1. Define an Input Variable: In your subflow's Inputs tab, ensure you have an input variable that is a reference to the Incident table (or at least a Document type that contains the incident record's details).
  2. Pass the Data Pill: When you use the "Wait For Condition" action within the subflow, drag the data pill for your Incident Record input variable from the Data panel into the "Record" field of the "Wait For Condition" action. This explicitly links the action to the correct record and table.
  3. Select the Field: Once the data pill is in the "Record" field, the condition builder (including the table/field dropdown) should become active and allow you to select the State field for that specific incident record.

 

 

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

 

Thanks, GP