Help with calling a Workflow from the flow designer

muktha1
Tera Guru

Hi all,

I have created a catalog request item and want to attach a flow designer with approval action, Emails and an orchestration flow of adding computer to AD group. I created an  orchestration workflow on the requested item table but unable to call it from the flow designer . I read in the community that workflows running on requested items table will not be visible in the Call a workflow list. If that is the case , how do I create the orchestration workflow outside of the requested item table and call it it the flow designer? Can anyone please suggest?

 

Thanks

1 ACCEPTED SOLUTION

Hi,

using script as I mentioned in my earlier link using custom action

create custom action

Custom Action in ServiceNow Flow Designer

then use script from below link where I shared solution to trigger the workflow

workflow from script with example

Regards
Ankur

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

View solution in original post

11 REPLIES 11

Hi,

you can use Script action in flow designer and invoke the workflow using that and pass the ritm variable value to it

Custom Action in ServiceNow Flow Designer

Regards
Ankur

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

@muktha 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

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

@muktha 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

 

 

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

Hi Ankur,

 

How do I invoke a workflow from the flow designer ? Workflow built on RITM not visible in the list. How else should I invoke a  workflow which will involve adding computer to an AD group?

 

Thanks

Hi,

using script as I mentioned in my earlier link using custom action

create custom action

Custom Action in ServiceNow Flow Designer

then use script from below link where I shared solution to trigger the workflow

workflow from script with example

Regards
Ankur

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