Including "Email Scripts" in a template or notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2014 03:33 AM
Guys,
has anybody managed to figure out how to include an email script in a template ?
Cheers
Maros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2014 04:21 AM
Manish,
"${mail_script:script name}" - THAT IS IT a disgraceful documentation by SNOW.
Thanks for your help !
Maros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2014 04:25 AM
You are welcome Maros
Regards,
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2014 04:26 AM
how do i mark it as a correct anser ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2014 04:34 AM
This thread was started as a discussion. I guess if it was started as a question in Support category, you'd be having an option to mark the answer as correct. I have no idea if any answer can be marked as correct in a discussion thread.
Regards,
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2014 04:40 AM
not sure whether you have noticed this but gs.getUserID() does not refer to your account but "system".
Queries like the one below don`t work...
var gr = new GlideRecord("sysapproval_approver");
gr.addEncodedQuery("approver=javascript:getMyApprovals()^stateINrequested");
gr.query();
Cheers
Maros