Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to auto set user timezone based on location value?

Chin4
Tera Expert

We sync user account from AD to ServiceNow but it does contain timezone data. We do have value for field Location that has timezone set. Is there a way to auto set user timezone based on the Location set for the user?

 

Thanks in advance.

6 REPLIES 6

Chin4
Tera Expert

I could not see my reply here. 😞

Chin4
Tera Expert

Hi Sandeep,

 

Good day and I hope you are well.

 

I am still trying to understand how transform map and field mapping map that time zone field of user.location.u_site.u_time_zone to sys_user timezone field.


I use the solution BR with urrent.time_zone = current.location.u_site.u_time_zone but it does not work.

 

PS. I am not familiar with transform map but understand BR.

 

Cheers