Define a user task

To define a user task, follow these steps:

  1. From the Tasks section of the Palette, drag a UserTask to the Chief steward lane..
  2. Connect the start event to the user task with a SequenceFlow connection.
    Make sure that the start and end event stay connected through the user task.

    You can also create elements starting from an other element by hovering your pointer over it and clicking the create element button:

  3. In the Properties section, select the General tab.
  4. In the Name field, enter a name for the task, for example: Review and comment.
  5. Select the Main config tab.
  6. In the Candidate user field, enter a user expression, for example: ${chiefStewardUserExpression}.

    For more information about user expressions, see Candidate user expressions.

  7. Select the Documentation tab.
  8. In the Documentation field, enter the task instructions, for example: Please review the term and provide comments.
  9. To add a dialog box for the user to provide comments, create two variables:
    1. Select the Form tab.
    2. Click New.
    3. Enter the required information:
      • Id: Give an ID for the dialog box, for example Comment.
      • Name: Provide a name for the dialog box, for example Please review the new term and provide comments.
      • Type: Select the type textarea.
      • Readable, Writeable and Required: Set to True.
    4. Click OK.
    5. Click New.
    6. Enter the required information:
      • Id: Give an ID for the button, for example commentButton.
      • Name: Provide a name for the button, for example Comment.
      • Type: Select the taskButton type.
      • Readable and Writeable: Set to True.
      • Required: Set to False.
    7. Click OK.

The following image shows the current state of the workflow: