Need to find from where the sub-flow is being triggered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2025 03:04 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2025 04:57 AM
You can trace where the “Service Builder Publish” sub flow is called by checking Flow Designer → Sub flow → Usage tab or searching in Scripts, Catalog Items, or other Flows that reference it, as it’s likely triggered programmatically during service publishing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
@Lucky1 ,
In Flow Designer every sub flow is either invoked by a parent flow or called programmatically (for example via the FlowAPI) and you’ll notice that sub flows do not have triggers of their own....In practice what I’d do is open the sub flow record, check the See related flows or Where used list (sometimes under More actions) and if no parent flow shows up, then search for scripts (business rules, script includes, UI actions) that call the FlowAPI with this sub-flow’s internal name. .....Then you’ll know exactly where your approvals/notifications should go before or after that invocation rather than guessing in the sub flow itself.....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hello Bhuvan and Kaushal,
In my PDI, when I install Service Builder plugin, then in the flow designer, there is a sub flow showing.
that is:
So, when I open the sub-flow, it is having the inputs.
I also checked the related flows and there is nothing.
So, now can you please tell me from where this is being called?
UI actions ??
Regards,
Lucky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I tested this in PDI, below is the behavior. When you create Services using Service Builder, it calls this subflow.
To test it, go to Service Portfolio Management -> Service Builder and create a Business Service. Enable Flow reporting for the subflow and from execution history, check the details.
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Did you get a chance to review this as I believe the information provided should answer your question.
If my response helped to guide you or answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
