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
Howdy, Stranger!
Categories
- 4.5K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 277 Administration
- 215 Portal
- 503 General Q & A
- 722 Forms
- 355 Reports
- 3 Designer Extensions
- 47 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 72 Repository
- 237 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 26 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions