PAK Commands – Choose Date
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.
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
In the second example,
withTimeChooser is set to true, so we are additionally prompted with a time chooser. So in order to continue, we need to provide a time as well, in our case 1pm. Our result will be written as
|Due to normalization, the resulting time may be off for your time zone, it will be stored in the Zulu time zone (UTC +0)|