powered by ASAP

1. Summary

This command prompts the user with a text field to fill out.

2. Examples

SimpleTextInputSCR
Figure 1. The Command

Due to simplicity, the descriptiveText input parameter will be left empty for the examples. By default, it is set to „Please type in the text field to continue.“.

All example images use the Human Task representation of the Workflow Executor.
Table 1. Command run with no inputs
SimpleTextInput1 1
SimpleTextInput1 2

In the first example we provided no parameters. Our result will be written under the key outputText as "Hello World" in this case.

We can also choose to provide some sample text for the user by setting inputText to for example "Sample Text".

SimpleTextInput2

A list of predetermined possible solutions can be entered with the suggestiveKeyList input. These items then are selectable over a dropdown list.

The input of the user can be restricted by a Regular Expression. The task now only accepts terms that are accepted by the Regular Expression provided by the inputTextRegex field e.g. "^[01]+$" would only accept words that contain only 0 and 1 as letters (e.g. binary numbers).