Is there a way to move a Flow to a Sub-flow?

coryreidmiller
Tera Contributor

Hello,

 

We have several Workflows and Flows that are all for hardware related catalog requests that we would like to consolidate into one "Flow".

 

Some of these are already in Flow Designer as individual Flows.

 

Is there an automated or "easier" way to move these Flows to "Sub-flows" aside from "Copy and Paste"?

 

Thank you in Advance 🙂

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Hi @coryreidmiller 

 

 

 

https://www.servicenow.com/community/developer-forum/copy-flow-to-subflow/m-p/2461652

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron

Hi @coryreidmiller 

 

 

 

https://www.servicenow.com/community/developer-forum/copy-flow-to-subflow/m-p/2461652

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

Tanushree Maiti
Mega Patron

I think- You should recreate the logic from your legacy workflows into modern Flow designer's flow, and then call these sub-flows from a single main Flow Instead of copy-and-paste.

 

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Thank you for your response.

 

The solution I was looking for was in reference to the existing "Flows" being converted to Sub-flows...

 

Sorry for the confusion.

 

"Is there an automated or "easier" way to move these Flows to "Sub-flows" aside from "Copy and Paste"?"

Hi @coryreidmiller 

Convert consecutive items of a flow into a new subflow that preserves data pill references between the converted items. Update the original flow to replace the converted items with a call to the new subflow.

 

Refer: Convert items to subflow 

 

Also you can check: Your Go-To Flow Designer Has Secrets (And I Found Few)

https://www.youtube.com/watch?v=OAD8IP2scRc

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:
Creating a subflow is easier in ServiceNow's Utah release, even if you already started with a Flow in Flow Designer! Watch this video as I show me using this new feature for my Release Notes application. #servicenow #utah #flowdesigner #subflow #ui