Input Box
The Input Box task will display a dialog box that allows you to accept user input. The return value of the Input Box can be passed to the next task in the workflow, by selecting the 'Use the output from the previous task' option on one of its settings, or can be written to a workflow variable.
Settings
Input Conditions
Optional
Allows you to specify conditions that the input must meet. If a condition has been specified, and the input does not meet the condition, an error message will be shown to the user and they will be given the option to try again. The type of condition that can be specified depends on the Input Type that has been chosen:
- Integer, Double or FloatingPoint - A range of acceptable values can be specified. E.g.
1 - 10
. - DateTime - A range of acceptable dates can be specified. E.g.
01/01/2022 - 31/12/2022
. - String, Character or ZynkObject - A regular expression (regex) can be specified, and the input will be accepted if the regex finds a match. E.g.
^ABC\d+$
will check that the input is ABC followed by a number. - File or Folder - A file pattern can be specified, and input will be accepted if it matches the pattern. E.g.
*_success.xml
will check for an XML file where the file name ends with '_success'.
Input Type
Required
Select the type of value the user should provide. The available options are as follows:
- Integer - A whole number.
- Double - A double precision decimal number.
- FloatingPoint - A decimal number.
- Character - A single character.
- String - A piece of text.
- DateTime - A date and time.
- File - The path to a file.
- Folder - The path to a folder.
- ZynkObject - Can be a file, folder, list, variable or script.
Variable
Optional
Enter the name of the workflow variable to save the user input to.
Window Title
Optional
Used to customise the title displayed in the dialog box shown to the user.