- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2010 04:38 AM
We have a few scheduled reports that are delivered to our service delivery manager daily, currently the subject / file name is the same everytime.
Is there a way to timestamp either the subject line or attachment file name?
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2011 03:29 PM
When configuring a Scheduled Report, the Subject line now accepts JavaScript. e.g., the following in the Subject of a scheduled report will put the current date in the resultant email (e.g., for a report of today's problems):
javascript:"Problems created on " + gs.now();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Here is a litle hack. (more a quick and dirty one)
How to rename Zip file in Scheduled report - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 07:24 AM
What does an email have to do with the TITLE of the report? Please only provide information that answers the question.
Ron Hoyt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2011 07:42 AM
Thanks, CapaJC
That worked.
I have also looked for tomorrow - eg,
javascript:"Changes scheduled " + gs.now() + " - " + gs.tomorrow();
Any ideas?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 08:20 AM
Not sure how to get just the date part of tomorrow, but the following will give you 1) a date/time string for the start of tomorrow, and 2) the date/time 24 hours from now:
gs.daysAgoStart(-1);
gs.daysAgo(-1);
The name of the attachment is not similarly customizable, to my knowledge.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2012 04:13 PM
Thanks!