Need to find from where the sub-flow is being triggered.

Lucky1
Tera Guru

Hello all,

 

We are using "Service Builder" interface in service-now to create and update the Technical and Business Services.

So, I see there is a sub-flow, ''Service builder publish". and when I open it, I see there are inputs defined for this subflow.

 

So, I am just curious from where this subflow is being called. Because I searched in main flow with name contains Service or name contains builder etc, but invain. 

Actually, I want to add some approvals and notifications. So, trying to understand how the sub flow is being called and from where.

 

Can someone let me know if they are aware of this?

 

 

 

Regards,

Lucky

8 REPLIES 8

Bhuvan
Giga Patron

@Lucky1 

 

Go to Subflow -> More actions menu -> See related flows to see the flows invoking the subflow

 

Bhuvan_0-1761390581134.png

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Hello Bhuvan,

 

I have checked this also Bhuvan.

It is empty.

I have also checked in Studio,  with subflow sys_id and also like service_builder_publish

 

But not found anything.

 

 

Regards,

Lucky

@Lucky1 

 

Go to sys_hub_sub_flow_instance.LIST from Application Navigator. This table holds reference between Subflow and Flow and it should display the information if Subflow is invoked by Flow. If you are not able to find the reference, it is possible Subflow is not being invoked by Flows and possibly executed from scripts.

 

You can refer below articles for more information on different ways the Subflow can be executed

 

https://developer.servicenow.com/blog.do?p=/post/flow-vs-subflow/

 

https://www.servicenow.com/community/developer-blog/calling-a-flow-subflow-into-the-server-side-clie...

 

https://developer.servicenow.com/dev.do#!/learn/courses/zurich/app_store_learnv2_flowdesigner_zurich...

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

ppatil4008
Tera Contributor

You can trace where the “Service Builder Publish” subflow is called by checking Flow Designer → Subflow → Usage tab or searching in Scripts, Catalog Items, or other Flows that reference it, as it’s likely triggered programmatically during service publishing.