What is ${mailto:mailto.approval} ?

RFJ1
Tera Contributor

What is ${mailto:mailto.approval} ? Is this OOTB? How can I use this as mailto.confirmed or mailto.defered in the email template? Where can I change this?

 

Thanks.

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

As mentioned above, it's an email template being called that contains preset formatting that can be used in an email. It prints out a link that the user would see in their email and once clicked...does 'x' (all of which can be specified in the template). Feel free to check it out as directed and you'll get an idea.

If you want custom functionality per your own requires, you can create another record of similar type and then call it in the same manner. So name your template mailto.confirmed and then once that's established, you can call it via {$mailto:mailto.confirmed}

Set the subject and message accordingly for what you want it to say on the user's end when they click this link in their email upon receipt.

Then, you can create an inbound action within your instance to receive messages with the subject line containing "x" and process that way, etc.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

16 REPLIES 16

Allen Andreas
Administrator
Administrator

Hi,

As mentioned above, it's an email template being called that contains preset formatting that can be used in an email. It prints out a link that the user would see in their email and once clicked...does 'x' (all of which can be specified in the template). Feel free to check it out as directed and you'll get an idea.

If you want custom functionality per your own requires, you can create another record of similar type and then call it in the same manner. So name your template mailto.confirmed and then once that's established, you can call it via {$mailto:mailto.confirmed}

Set the subject and message accordingly for what you want it to say on the user's end when they click this link in their email upon receipt.

Then, you can create an inbound action within your instance to receive messages with the subject line containing "x" and process that way, etc.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

email template mailto.approve in field message has only a plain text:

FedericoCaldon_0-1725610489947.png

When it is called from change.itil.approve.role it returns an html link and not only a plain text: how can i convert the returned link in a button instead in my customized version?

 

Federico

Hi @Federico Caldon 

Please create a new question on the forums related to your issue.

Feel free to tag me there by typing @ symbol and my name.

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Gaurav Shirsat
Mega Sage

Hello 

as Ankur has already explain you, would like to give you some threads to get more details

https://community.servicenow.com/community?id=community_question&sys_id=ebb64f65db1cdbc01dcaf3231f96...

https://snprotips.com/blog/2016/1/29/approve-or-reject-with-a-single-click

https://snprotips.com/one-click-approval

ServiceNow Docs

Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat

RFJ1
Tera Contributor

Thank you, I created a template of my liking (confirmed and deferred) and added it to the main template which is added to the notification being sent. When I used preview notification, I was able to see all the changes there( the new confirmed and deferred links and other data which I pulled from change table using mail script). But when the notification mail was sent, I checked the mail and none of the changes made was seen there, it was sending the old mail without the changes I made in them.

Why is this happening and how can I fix it? How will i be able to see the changes in the actual mail?

Pls do help!