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.

Changing the timezone from user preferences will affect the sys_user.Timezone?

divyadhanda
Tera Contributor

I am tring to change the timezone from the user preferences but the updates are not captured in the sys_user table also in the sys_user_preference table. Is this a OOB behaviour? How to resolve this?

1 ACCEPTED SOLUTION

@divyadhanda 

if they want to update their timezone then they should do this from portal

This is not direct and will require some customization

This KB explains the steps and also refer the other link

Enable Users to Update Their Time Zone via Service Portal Profile 

Some ACL changes are also required

Enable Timezone from user profile of end user from Service Portal 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

View solution in original post

17 REPLIES 17

Ankur Bawiskar
Tera Patron
Tera Patron

@divyadhanda 

yes this is OOTB behavior.

It's session level preference and hence not updated in sys_user or sys_user_preference

Users Time zone preference being reverted each session 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Anywhere it is captured? because my customer wants the preference->timezone should be updated with user.timezone. Is there any way, we can resolve this?

@divyadhanda 

nope, it's not captured anywhere.

but why customer wants this as this is session specific info.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

User is saying that, if they wanted to change their time zone, it's the only way that they can do from user preferences under profile. Their expectation is, it should be updated in sys user table once they update from preferences.