How do you know which flow calls a sub-flow?

AlexandreL
Tera Contributor

I have a subflow, but I don't know when it's triggered. Where can I go to find out what the flow calls the subflow?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@AlexandreL 

you can determine this from this table "sys_hub_sub_flow_instance"

Example below: the flow "Testing MRVS" calls these 2 subflows

 

AnkurBawiskar_2-1744633745924.png

 

you can also determine where all a particular subflow is being invoked from

Click on 3 dots for sub-flow and click on "See related flows"

AnkurBawiskar_0-1744633561828.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

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@AlexandreL 

you can determine this from this table "sys_hub_sub_flow_instance"

Example below: the flow "Testing MRVS" calls these 2 subflows

 

AnkurBawiskar_2-1744633745924.png

 

you can also determine where all a particular subflow is being invoked from

Click on 3 dots for sub-flow and click on "See related flows"

AnkurBawiskar_0-1744633561828.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

AlexandreL
Tera Contributor

Thanks for the reply, but in my case, I think my Subflow is triggered by a business rule. In this case, how can I find this subflow in BR?

AlexandreL_0-1744637642599.png

 

@AlexandreL 

search with script contains that name of subflow

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