how to determine the output of subflow to continue the existing workflow(legacy)

VardhanP
Tera Contributor

Hello Community 

 

I have few existing workflows (legacy) which are working, but we need to add a manager approvals for the all the existing workflows - so we created a subflow to call on all the existing workflow - how can we determine the output of the subflow and continue with existing workflow based on the approval or rejects


TIA

Thanks

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@VardhanP 

Is it a subflow which is flow designer based?

If yes then subflow can have an output variable and you can set that output variable

Use that in your workflow run script when you call and you can get value of that output variable

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

No this is in workflow ( not in flow designer) - we are trying to have a approval process for manager to skip if manager is same as requestor for all the existing workflow ( plan is to use a diff workflow inside where the approval will happen ) one the decision approved or reject is decided we need can leverage the output to continue the workflow