Email Notification on click of button can we run any server side?

abhishekraman
Tera Contributor
In a ServiceNow email notification, can we add a button that, when clicked, executes a server-side script?
 
Requirements- 🔁 Renewal Workflow via ServiceNow
The email must include an option to extend the variable value  for another 15, 30, or 90 days. When Clicking on 15 days, 30 days or  90 Days . Is it possible to call server side code ?  
 
Target- To update RITM variables value on click of Email button 15, 30, or 90 days.
 
6 REPLIES 6

SumanthDosapati
Mega Sage

@abhishekraman 

Did you try email scripts?

Examples.

 

Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth

not working

Ankur Bawiskar
Tera Patron

@abhishekraman 

Not possible

when email is received to person it's outside of ServiceNow

Once they click button they can reply to that email and then you can have inbound action which has server side script which does this

OR

Once they click button take them to some page of ServiceNow, ask them to login and then server side logic can be triggered

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

@abhishekraman 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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