Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to get SubFlow(flow designer) status which is triggered from workflow

anvitha ash
Tera Contributor

 

I have a question. I have triggered SubFlow( flow designer) from workflow using run script activity. Now once the subflow(Flow designer) is triggered and untill it gets completed the workflow should not move to the next workflow activity. How to achieve this? 

 

Is there any way where I can make workflow to wait untill the subflow (flow designer) get completed and then only workflow should move to next step 

 

Thanks in advance 🙂 

2 REPLIES 2

AndersBGS
Tera Patron
Tera Patron

Hi @anvitha ash ,

 

Not as far as I know. 

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Animesh Das2
Mega Sage
Mega Sage

Hi @anvitha ash,

 

You can try 'If' activity with script and validate the output of the subflow right after the subflow triggering script activity and until the output of the subflow is validated use some 'Wait for condition' activity. Or you can try scripted 'Wait for condition' activity as well if required.

Hope that helps.

 

If this address your question, please don't forget to mark this response correct by clicking on Accept as Solution and/or Kudos.

You may mark this helpful as well if it helps you.

Thanks, 

Animesh Das