How to call email script from the flow designer

Akshay14
Tera Guru

Hi All,

We have requirement to send emails to all the group manager as the part of daily scheduled job. We are exploring how to achieve this using flow designer. 

Question - Can anyone let us know how to call email script from flow designer.

The below format that we use in notifications table(sysevent_email_action) is not working in flow designer.

${mail_script:scriptName}

Please find below screen shot for your reference. 

find_real_file.png

 

Please note that we have implemented these kind of requirements in past by creating a scheduled job and triggering email notification from scheduled job, but now we want to try this using flow designer.

Thanks in advance. 

 

Thanks and Regards,

Akshay

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Akshay,

There is Send Email Action in flow designer but that mentions the subject, body, recipient etc

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/flow-designer/referen...

Not sure whether existing email can be triggered. Check below link:

https://community.servicenow.com/community?id=community_article&sys_id=3450a52fdbcf2740afc902d5ca961...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

20 REPLIES 20

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Akshay,

There is Send Email Action in flow designer but that mentions the subject, body, recipient etc

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/flow-designer/referen...

Not sure whether existing email can be triggered. Check below link:

https://community.servicenow.com/community?id=community_article&sys_id=3450a52fdbcf2740afc902d5ca961...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Ankur,

 

Solution provided in second link works for our requirement but we can trigger notifications directly using actions in flow designer.

 

Thanks for your help. 

asifnoor
Kilo Patron

Hi Akshay,

You can trigger a notification from the flow designer. And in the notification you can call the mail scripts.

Ref: https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/flow-designer/referen...

In the notification, under when to send, just select triggered option so that the notification is triggered from flow designer.

Mark the comment as a correct answer and helpful if it helps.

I am attempting to add an action and I only see the send email feature, I cannot locate the notification option. Can you provide instructions on how I can access this in flow designer?