The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to wait for a flow based on the variable's value provide from the RITM

zee15
Tera Contributor

Hi,

I am currently working on a scenario in Flow Designer and have run into an issue. I want the flow to wait until a value is provided in the subcategory variable.

zee15_0-1758123570229.png

 

Here’s the use case:

  • The flow creates a task for a particular business function.
  • In the subcategory, agents provide values after the RITM is created.
  • If the agent selects “Payment Request”, then an approval should trigger first, followed by the creation of an SC task.
  • If the agent selects any other subcategory, only the task should be created (without approval).

I am trying to figure out whether I can use a wait condition or if there’s a better approach to ensure the flow waits until the subcategory value is provided.

Any guidance or suggestions would be greatly appreciated.

Thanks in advance,

3 REPLIES 3

Dhana3
Kilo Sage

Hi @zee15 ,

 

I think you should use wait for condition. It is designed for such scenarios.

 

Wait for - subcategory is not empty

 

if subcategory == "Payment Request"

 --- Request approval

--- call subflow of sc task

else

--- call subflow of sc task

 

Regards,

Dhanashree

mayankkumar
Tera Sage

Hi @zee15,
------------------------------------------------------------------------------------
You can use Wait for Condition action in your flow like this ->

mayankkumar_0-1758124435289.png


and then provide a condition -> Subcategory is not empty
Let me know if you need further help
--------------------------------------------------------------------------------------------------------------
Please mark my response helpful and accept as solution
Thanks & Regards

 

Ankur Bawiskar
Tera Patron
Tera Patron

@zee15 

this link has approach from Anil lande on how your flow can wait till that variable is updated and once updated/filled, you can break the loop and proceed

How can w use wait for condition in flow designer for variable? 

Also an easier solution is shared there in the same above link, below is the image, it will wait till that Variable is empty, once not empty it will proceed

AnkurBawiskar_0-1758124671414.png

 

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