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

Call existing Flows in a new Flow depending upon choice selection

BKSharma
Giga Contributor

Hi,

I've 2 existing catalog items for Add users in a group and Remove Users from a group. And corresponding 2 Flows are there.

As per a new requirement I'm building a new Catalog item where I'm asking the end user to Add or Remove user from that group by using choice variable. (User has to select any one of the choice open Add or Remove).

Depending upon the selection of Radio button, I want to trigger the Flow. (Utilize the existing Flow)

Hence, I want to build a new Flow where it'll check the User's selection Add or Remove. And depending upon the selection, How I can call the existing flows?

Also, What are the prerequisites I need to take care.

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@BKSharma 

No you cannot directly call your main flows from your latest flow.

To achieve this you will have to convert your 2 flows to subflow and then call that subflow from your main flow based on choice selected.

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

@BKSharma 

Hope you are doing good.

Did my reply answer your question?

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

Hi @Ankur Bawiskar ,

How I can convert my existing 2 Flows to subflows? 
I hope those flows will work as it is for other 2 catalog items where these were attached earlier.

@BKSharma 

Thank you for marking my response as helpful.

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