- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 12:40 AM
Hi,
The Run as tz is not working in scheduled export sets.
I'm running a scheduled export set at 8.00 AM IST. But the file generated has SNXXX20201006231000 rather than SNXXX20201007080000
The run as tz is configured to IST. But still the name of the file generated appends the date time as US/Pacific
Is there a way to append the date time to the scheduled export set file with user timezone or based on the current date time its generated?
Regds,
Shanker
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2020 09:34 PM
Hi,
I removed the Append timestamp from the export set.
I got this addressed by having a script to get the current date time and update to the Export set file name in the scheduled export set.
Regds,
Shanker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 12:42 AM
Hi Shanker,
The user who is configured in Run as has which timezone?
Can you try to make that user's timezone as IST 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
10-07-2020 01:57 AM
The user is in IST timezone only. Even i tried adding Run as tz as IST which was blank initially. Moreover the timezone property glide.sys.default.tz is mapped to Asia Singapore

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 12:44 AM
Hi
please use the following official resolution, it should work:
https://hi.service-now.com/kb_view.do?sysparm_article=KB0721447
If I have answered your question, please mark my response as correct and helpful so that this thread can be closed and others can be benefited by this.
Thank you very much
Cheers
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 01:59 AM
I tried based on the HI article by setting the Run as tz as IST. Still the file name gets generated using US timezone and not the instance timezone or user timezone.