Specify list entries

You can define the list entries for an element in order to offer the executor of a task a selection in the form of a list in the dialog.

Procedure

  1. Open or create a dialog.

  2. Place a combo box or a list in the dialog.

    The Static combo box element has a label. The label can be deleted on the Display tab or by clearing the Has label check box.

    On the Data tab, you can specify whether the element is a mandatory field, is read-only, or is subject to voting. You can activate report support here, too. Enter the GUID of the relevant report in the Default ID of report field. If you do so, the data will be determined by report right before the dialog is displayed and will then be displayed in the dialog.

    Further list entries can be added on the List entries tab. You can assign a name and a value to the individual entries in this list.

    Example code for the report support

    Context.setProperty("375ade20-6ea5-11e6-1af0-504e43.value","2");

    If you enter the list entries of the static combo box during design time as follows and if you use the code above, the value 2 with the label b is set in the dialog during runtime.

    Static combo box with labels and values

    The List element has a label and contains list entries. Multiple selection is possible. You can define the number of lines.

    The label can be deleted on the Display tab or by clearing the Has label check box.

    On the Data tab, you can specify whether the element is a mandatory field, is read-only, or is subject to voting.

    Further list entries can be added on the List entries tab.

    When the process is run, the values modeled in the data flow are applied to the list entries.

    Example code for the report support

    Context.setProperty("375ade20-6ea5-11e6-1af0-504e43.value","3");

  3. Activate the List entries tab in the Properties bar.

  4. Click Add to add a list entry.

  5. Enter a value.

  6. Use the Up and Down buttons to specify the sequence of list entries.

You have defined list entries for the element. If you want to delete a list entry, click Remove.