How to add the timezone to Service Catalog?

Byron Plant
Tera Contributor

Hi everyone,

I am trying to add the timezone field from the user table going to our Service Catalog, but I am not sure how exactly I should reference the timezone?

Please refer to the screenshot below. I need all the timezone that is available on the user table to be also available in our Service Catalog.

find_real_file.png

 

1 ACCEPTED SOLUTION

OlaN
Giga Sage
Giga Sage

Hi,

Create a variable that is a reference to the sys_choice table, and a reference qualifier with at least:
element = time_zone
inactive = false

find_real_file.png

View solution in original post

12 REPLIES 12

sachin_namjoshi
Kilo Patron
Kilo Patron

You can configure a  reference variable like below for your catalog item

 

find_real_file.png

 

Regards,

Sachin

Hi @sachin.namjoshi thank you so much for answering my question. I tried doing your solution but it did not provide me the same time zone options compared to what we have in sys_user table. See screenshot below

find_real_file.png

@Byron Plant This means you don't have sys_user records with all these timezones. If you still want to provide all available timezone options, then solution provided by @OlaN  will work.

 

Regards,

Sachin

 

 

Hi @sachin.namjoshi 

I have another question though is there a way I can to auto populate the user's timezone from the sys_user table to the timezone field of Service Catalog?

As you can see in the image, the default timezone of Annabelle Coger in sys_user table is America/Los_Angeles. If she creates a request in a Catalog Item, the "Please select your timezone" field must auto populate to America/Los_Angeles timezone as well.