- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 07:22 AM
I've created a Notification Email script for an existing application (in System Notification) for my application. Inside my email notification I'm using ${mail_script:my_script_name} and I get the error Email script render error: email script [my_script_name] does not exist.
Since the application is not Global I also tried using the scope x_my_app as follows:
${mail_script:x_my_app.my_script_name} but I get the same error message with the qualified script name [x_my_app.my_script_name]
I've run a email script that is scoped Global without any prefix and that works without failing in the same email notification - it is just the reference to my created script it can't seem to find.
Any ideas on why it can't find the script?
Thanks
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2019 12:19 AM
Hi Jay,
Use following link and you would know the detail steps.
https://community.servicenow.com/community?id=community_question&sys_id=3ed88f61db5cdbc01dcaf3231f961928
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 09:40 AM
Hi Jay,
Can you try to create a new mail script and try to give that name in that and check once.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 10:14 AM
I was able to resolve the issue - it turns out there was an embedded <span> tag - when I removed it - it fixed the issue and I was able to reference the script.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 10:21 AM
Nice to hear that. Can you mark answer as correct and mark helpful.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2019 05:10 AM
Hi Jay,
Can you mark answer as correct if this is solved?
Thanks in advance
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader