I want to set user system time zone in user table [please see description]

snow34
Tera Contributor

For example my system have indian time zone then it should set indian time zone in user table 

4 REPLIES 4

Community Alums
Not applicable

Hi,

My suggest would be a business rule run on update of the user record with a condition for when the user location changes. The rule would be something like:

current.time_zone = current.location.time_zone

Also, for an example below ,in sys_user table and found my timezone is utc+530 india time and on homepage gear option it shows US/Eastern

 

image

 

image

This is because The one on the profile is stored in the user table (sys_user). The one in the settings is stored in the user preferences (sys_user_preference) table. The user preference takes precedence.

Once you set time zone for user, user need to logout and re open same again.

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Community Alums
Not applicable

You can also refer to this approach :https://community.servicenow.com/community?id=community_question&sys_id=4ada7097db9f1380fff8a345ca96...

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Community Alums
Not applicable

Hi,

Any update to this ?Any follow-up required? if not

Kindly mark the answer as Correct & Helpful both such that others can get help.

Thanks,
Sandeep

shiva prasad3
Kilo Contributor

Hi,

 

find_real_file.png