- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a requirement when incident application is x then when anyone reply to an email from the ticket should send from email address y but else it should send from SMTP email address. For this I have created a reply sent email client template and i have written the script but it is sending all email from y email address not for if incident application is x.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
did you add log and see what came in app variable?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I got it the targetrecord variable stores the Gliderecord of the table that is selected in the table field. In this case the targetrecord is sys_email record that is sent from the incident. So I have modified the script to as