- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 02:16 PM
Help!!!
I am trying to pass a 'to' and 'cc' to a mail script and I am having a hard time.
I am able to pass the data to the mail script and print it out using gs.error(), so I know I am really really close,
however, I can't get the dang notification to fire!
the summary is as follows::
UI action ==> event ==> notification && mail script
UI action
notification 1
notification 2
notification 3
email script
log output
event
what am I doing wrong?!??!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 04:09 PM
Hi, unfortunately screenshots are not the best way to share details of your configuration and you post does not make your issue clear.
'I am able to pass the data to the mail script and print it out using gs.error()'
Your mail script would not 'fire' if it was not being triggered by the notification message, and based on the details you have provided the existence of the error log message would indicate that the notification was triggered and this resulted in the mail_script running and generating the log message.
Perhaps you could review your system and email logs and then clarify your issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 02:56 PM
Have you tried adding additional recipients or checking the "Send to event creator" option?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 04:50 PM
I added a new question with the small progress I made:: https://community.servicenow.com/community?id=community_question&sys_id=44db06661b19d99038739979b04bcb19
what u said made it kinda work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 04:09 PM
Hi, unfortunately screenshots are not the best way to share details of your configuration and you post does not make your issue clear.
'I am able to pass the data to the mail script and print it out using gs.error()'
Your mail script would not 'fire' if it was not being triggered by the notification message, and based on the details you have provided the existence of the error log message would indicate that the notification was triggered and this resulted in the mail_script running and generating the log message.
Perhaps you could review your system and email logs and then clarify your issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 04:50 PM
I added a new question with the small progress I made:: https://community.servicenow.com/community?id=community_question&sys_id=44db06661b19d99038739979b04bcb19