Access Dom in email script

gauravagarw
Tera Expert

Namaste!

i was working on an email notification in which i want is that i have two anchor tags one for approve and one for reject i want is that when i click on buttons the requested record gets approved or reject so can anyone tell me how can i use onclick in email script i tried but its always running regardless i click or not on the button.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@gauravagarw 

not possible, users can approve in only 2 ways

1) click that link or button and it opens that approval record in instance and they click Approve/Reject

OR

2) reply to that email and inbound action will process and mark the approval as approve or reject

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

6 REPLIES 6

Ct111
Giga Sage

Check the below links for reference

 

LINK

 

I hope this information helps.

Ankur Bawiskar
Tera Patron
Tera Patron

@gauravagarw 

not possible, users can approve in only 2 ways

1) click that link or button and it opens that approval record in instance and they click Approve/Reject

OR

2) reply to that email and inbound action will process and mark the approval as approve or reject

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@gauravagarw 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Thank you!