Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ServiceNow Workflow

Raji15
Tera Contributor

Hi, 

I have a workflow Workflow A which is being used by a cat item. I have created an another workflow Workflow B which is basically a subflow for Workflow A. The requirement is if the user's company is XYZ then the subflow(workflow B) should trigger. Both the flows are in workflow not in flow designer. How do I incorporate workflow B into workflow A? I can only see two core activities which is Flow Designer (Run Flow/subflow/Action) and Flow parallel launcher. How do I trigger a workflow as a subflow in a workflow? Please help

 

thanks

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@Raji15 

so you want to call Workflow from flow designer?

your requirement is not clear.

a workflow can call another workflow

Workflows used as subflows 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

OlaN
Tera Sage
Tera Sage

Hi,

To start a second workflow from a workflow, just add it att an approprate place in the main workflow.

You should find it under the "Workflows" tab instead of the "Core" tab.

Just drag and drop it onto the workflow canvas, and connect it where it belongs.

 

And a friendly reminder, if you're building something new, then the general recommendation is to start with Flow designer instead of Workflow editor.

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Raji15 

so you want to call Workflow from flow designer?

your requirement is not clear.

a workflow can call another workflow

Workflows used as subflows 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,

Both the workflows are in workflow only no flow designer. 

Trigger the subflow which is Workflow B in the mainflow Workflow A only if the user's company is XYZ.

Ohhh.. I was checking in Core. Thank you so much buddy. You are Awesome!

OlaN
Tera Sage
Tera Sage

Hi,

To start a second workflow from a workflow, just add it att an approprate place in the main workflow.

You should find it under the "Workflows" tab instead of the "Core" tab.

Just drag and drop it onto the workflow canvas, and connect it where it belongs.

 

And a friendly reminder, if you're building something new, then the general recommendation is to start with Flow designer instead of Workflow editor.