How to send email notification after rejecting the approval on workflow

Nani18
Tera Contributor

Hello Folks,

 

My requirement is 

In workflow of the catalog item If approval is rejected then How to trigger email notification by using notification activity.

TO

Request.opened_by.email

 

CC

current.varaibles.owned_by.email

current.varaibles.contact_person.email

 

SUBJECT

Your request item ${request_item.number} of ${request.number} is rejected

MESSAGE

Dear Requester,

The requested item ${request_item.number} has been rejected by ${rejected person name}.....?
with comments:-

${rejected person comments} ....?

Your requested item can be accessed directly through the following link:

Click here to view Related RITM: ${ritm url}...?

 

How to do this..?

 

Best Regards,

Nani

2 REPLIES 2

Mark Manders
Mega Patron

You can set an event to trigger the notification. Or you just trigger it from outside of the workflow (makes it easier to find/troubleshoot) and trigger it on the request being rejected.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

piyushsain
Tera Guru
Tera Guru

Hi @Nani18 

You can trigger it by calling an event from the script activity, in the event trigger you can send the TO and CC emails in parameter and call the email script in Notification to add the CC.

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain