Reminder Notification

avinashdubey103
Tera Guru

I have created 2 events , 1 business rule and script action to fire a email notification.

When the approver has not approved the request after 1 day , 2 day and 7 days .

I have used the same email .

Now the client wants to add counter in the email  subject :Reminder 1 for 1st reminder 2 for second .

Is their any way i can acheive this without creating additional Notifications

1 ACCEPTED SOLUTION

sanket16
Giga Guru

Hi @avinashdubey103 ,

 

You might be firing the event based on the days passed for the pending approval.You can try something like this.

if(not approved==day1){

gs.eventQueue('eventname',current,parm1,parm2)}

elseif(not approved==day2){

gs.eventQueue('eventname',current,parm1,parm2)}

 

set the parm2 with the number that need in notification.
and in notification add "${event.parm2}" in subject line.

 

Thanks,

Sanket

View solution in original post

2 REPLIES 2

Palak Gupta
Tera Guru
Tera Guru

Hello @avinashdubey103 ,

For which table you are to do this? You can use Workflow or flow designer to achieve this.

Regards,

Palak

sanket16
Giga Guru

Hi @avinashdubey103 ,

 

You might be firing the event based on the days passed for the pending approval.You can try something like this.

if(not approved==day1){

gs.eventQueue('eventname',current,parm1,parm2)}

elseif(not approved==day2){

gs.eventQueue('eventname',current,parm1,parm2)}

 

set the parm2 with the number that need in notification.
and in notification add "${event.parm2}" in subject line.

 

Thanks,

Sanket