Help with Scripting/Conditional for Scheduled Report Emails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2019 04:56 AM
Hi All,
I have been doing reports for my team for the past year, I have the Reporting Admin Role but not a general Admin role.
I am trying to have or Scheduled Reports sent from my email address as opposed to the standard Do-Not-Reply ServiceNow address. I understand I need an Admin Role to change this, so I have been trying to use a script to insert into the conditional field within the scheduled jobs.
Is there a way to do this? I have been able to write a code to send reports on weekdays and skip the weekends, but I am unable to get the sender address changed using a script. Below is the point where I have given up, after weeks of trying to get it correct. Any help will be appreciated.
- Labels:
-
Performance Analytics
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 02:16 PM
There is NO way for sending emails from ServiceNow through a user-defined email address. Every email that goes out of ServiceNow will go out through the Outbound Mail Server [SMTP] which represents a unique email address [Do-Not-Reply thing].
Please mark the answer as Helpful/Correct If applicable.
Thank you,
Aman Gurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2019 08:28 AM
Thank you for your response Aman, I have come across multiple threads regarding the same issue such as the link below details, I just cannot call the script. I have updated my script but I still have issues. Is it completely impossible??
I do call the [sys_email] in the body of the report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2019 10:05 AM
May I know what table you are on? Is this a scheduled report?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2019 01:51 AM
This is a Scheduled Report yes, are you referring to the Fact's Table? which is sys_email.
Sorry we are all new to servicenow