block reminder email

priyagudipa
Tera Contributor

i wanted to block the duplicate approval reminder emails to specific user for specific catalog item , notification will be triggered when event is fired via workflow and the parameter 2 condition is being passed in the notification 

 

2 REPLIES 2

vaishali231
Tera Guru

hey @priyagudipa 

 

try this

1. Added a custom flag
I added a Boolean field on the Approval (or RITM) record, for example:
u_approval_reminder_sent (default = false)

2. Controlled the event firing in the workflow
Before firing the approval reminder event, I checked this flag:

If u_approval_reminder_sent is false

Fire the reminder event

Set u_approval_reminder_sent to true

If it is already true

Do not fire the event again

This prevents the same event from being triggered multiple times for the same approver.

3. Used parameter 2 in the notification condition
In the notification, I kept the existing event condition and added a validation using event.parm2 (catalog item) along with the flag check.
This ensures the notification is sent only for the intended catalog item and only once.

*************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.

Regards
Vaishali Singh

can u help me with code to set it at the event