Notifcation hyperlink action linked with wokrlfow activity

Pushpanjali2
Tera Contributor

I have triggered a notification in that Yes or No hyper link added it will redirect you to outlook to send an email. Once notification triggered wait for 30days On the basis of clicking Yes or No by user in notification my next approval/task should be triggered.

 

attached email template, some snap and workflow .

 

after 30days of Timmer how to check user taken any action in notification Yes or No.

 

kindly reply back asap, 

 

5 REPLIES 5

1__AnithaHV
Kilo Sage

I guess you can validate the notification yes or no based on the inbound email action you receive when the user replies .

Please do let me know if this solution works for you.

 

Thanks & Regards,

Anitha H V

how? please elaborate more....

 

Hi @Pushpanjali2 ,

 

You can glide the table sys_email and you can query only received emails and with a specific subject. Further in the notification part you can store the email subject in workflow scratch pad and you can use it while querying as below.

var emailRec = new GlideRecord('sys_email');
emailRec.addQuery('type', 'received');
emailRec.addQuery('subject',workflow_scartchpadvalue);
emailRec.query();
if(emailRec.next())
if any record is found further we need to check the subject of the email it's for yes click or no click and then we can return true or false based on that.

Not working