Run as tz not working in scheduled export sets

shanker1
Giga Guru

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

1 ACCEPTED SOLUTION

shanker1
Giga Guru

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

View solution in original post

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi @shanker 

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

shanker1
Giga Guru

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.