How to check for workflows/sub-workflows is used in other workflows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2024 09:48 AM
I need to check if a workflow DEMO is used in other workflows, as sub-workflow or not.
Any suggestions if that is possible or not?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2024 01:35 PM
@ArghaMukherjee You can check the table "wf_activity" and apply the filter on Activity definition field.
https://<YourInstanceID>.service-now.com/wf_activity_list.do?sysparm_query=activity_definition%3D35ef56111b211100adca1e094f071315&sysparm_first_row=1&sysparm_view=
eg: current subflow activity name is "Parallel Flow Launcher", then filter would be like
Activity definition | IS | Parallel Flow Launcher
Note: In workflow version field you will get workflow where sub flow has been used.
eg: "Create Change" has been used as subflow on workflow "This is test".
Hope it will help you.
Thanks,
Harsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2024 02:09 AM
DEMO itself is a workflow, not visible as an option in ACTIVITY DEFINITION field, as you mentioned.
DEMO is visible under WORKFLOW VERSION field in wf_activity table.
What I need is, whether DEMO(workflow) is being called within another workflow or not.