I want to set user system time zone in user table [please see description]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-02-2022 12:33 AM
For example my system have indian time zone then it should set indian time zone in user table

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-02-2022 12:53 AM
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
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-02-2022 12:55 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-04-2022 12:28 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-04-2022 01:08 AM