Have a Selectable List of the Systems Timezones

Hi,

I am working on an event Planner. However the events can occur in various time zones. Ideally I would like to use the list of time zones that something like the time zone dropdown list that the add location form uses.

Does anybody know how to get the decision systems value list that that form uses?

I can not seem to find it and the closest is "Get System Time Zones" flow step but that only gives me the value not the display name that decisions uses as seen in their documentation "Timezones Overview" https://documentation.decisions.com/docs/time-zones-decisions

Comments

  • Hello!

    Thank you for using the Decisions forums! Are you using v9 of Decisions?

    There is no place inside Decisions where the Display Name of the system timezones is stored. You can create a project constant inside the project that holds a string list of the display names for all the system time zones. Then, you can call the string list in a drop-down control.

    Project Constant Screenshot

    In addition, there is a way to grab a TimeZoneObject from the "Timezone Value" in order to grab more information about the timezone in flow. Inside the toolbox in integration and under .NET libraries, there is a step called "Run .Net Library Method". Configure the Assembly to be "TimeZoneConverter", there is only one class, and the method name is "GetTimeZoneInfo". Use the "Timezone Value" as the id input for this step to grab more information about the TimeZoneObject.

    GetTimeZoneInfo Output

    You could also create a list inside the flow with the Display Names of the Timezones as well as create your own list/data structure that holds the Display Name and Timezone value attributes. A project constant is preferred for this use case due to ease of maintenance.

    Thank you again for using the Decisions Forums!

    Best regards,

    Andrew || Decisions Support

Sign In or Register to comment.