With the help of the [User dialog] process item (Fig. 159), you can let the user choose one of the suggested options to define the further process flow.
The item execution page contains text (a question, for instance) and a number of options to choose from (Fig. 160).
For example, when running a sale process, the user can be offered to create a new client or to select one of the existing clients for the sale.
Parameters
Process item parameters are specified in the [Main parameters] tab of the card (Fig. 161) that opens when an item is added to a process. You can also open this card by double-clicking the corresponding process item.
Fig. 161 [User dialog] item parameter card
In the [Caption] field, enter the caption of the process item that will be displayed in the diagram.
Use the [Question] field to specify the text of the question on the user dialog page.
Dialog mode
Select the [Single selection] option to let the user choose only one of the available options, for example, to create a new customer or select an existing customer. If the [Single selection] option is selected, process branches using the logic of an exclusive gateway (Fig. 162).
Fig. 162 Using the [User dialog] task in single selection mode
Select the [Multiple selection] option to let the user select from a number of options.
When the [Multiple selection] mode is used, the [User dialog] task must be followed by an inclusive gateway. Outgoing conditional flows of that gateway correspond to the options in the user dialog (Fig. 163).
Fig. 163 Using the [User dialog] task in multiple selection mode
In this case, only those conditional flows that correspond to the options selected by the user are activated.
Options
The list contains various options the user can choose in the dialog. The order of options in the list corresponds to the order in which the options are located in the dialog. You can change this order using the [Up] and [Down] buttons located above the list of options.
Select the [Selected by default] checkbox to make a dialog option selected by default in the dialog.
If you select the [At least one option must be selected] checkbox, then selecting at least one option will be required.
Note
The [User dialog] item card also contains the standard [Activity parameters] tab that is described in the [Activity parameters] tab in activity cards chapter.
See also