PAK Commands – Choose Date
1. Summary
Prompts the user with a date chooser, that can optionally be extended to include a time chooser as well. The resulting date time will be formatted according to the ISO-8601 norm.
2. Examples
Due to simplicity, the descriptiveText
input parameter will be left empty for the examples. By default, it is set to „Please choose a date to continue.“ and „Please choose a date and time to continue.“ respectively.
All example images use the Human Task representation of the Workflow Executor. |
|
|
In the first example, we did not provide any inputs, so by default we are only prompted with a date chooser. We need to choose a date in order to continue, in our case the 23. Dec 2022. Our result will be written as "2022-12-23T00:00:00.000Z"
.
|
|
In the second example, withTimeChooser
is set to true, so we are additionally prompted with a time chooser and to set a timezone. By default, the timezone is set to our local offset. In order to continue, we need to provide a time, in our case 12:14pm. Our result will be written as "2022-12-23T10:14:00.000Z"
.
Due to normalization, the resulting time may be off for your selected time zone, it will be stored in the Zulu time zone (UTC +0) |