How can i pause a sub flow execution until a condition in met?

Mohan Krishna V
Tera Contributor

Use case: we receive orders from third party system through rest services. common attribute is commercial order id. under each commercial order we will receive three orders via rest API. Two will be of one type and third order is different type. The Each of the order will have service order and service order characteristics. in the characteristics we have service id as a unique attribute. The service id of first two orders should be updated in the third order characteristics as reference to first two orders. Now the query is can i hold the process of my third order in the sub flow until the first two orders are created in servicenow as the payloads will not reach instance in proper sequence.

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Mohan Krishna V 

 

I am not developer, but find something. 

 

https://docs.servicenow.com/en-US/bundle/vancouver-build-workflows/page/administer/flow-designer/ref...

 

https://www.servicenow.com/community/developer-forum/quot-wait-for-quot-condition-in-subflow/m-p/135...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************