Add a User Task to the Process
Use the Process Editor to create the business process. It includes a Palette that contains tools to create the process.
The Process Editor displays the default process for a new project.
The WelcomeUsers-Process contains the following events:
- The Start Event marks the beginning of the process.
- The End Event marks the end of the process.
- A sequence flow shows the flow of activities through the process.
- Procedure
- Click
Show Palette in the upper-right part of the WelcomeUsers-Process pane.
The Palette contains many drawers, each of which contains a set of tools.
- Click
Tasks, and then click
Script Task.
- Click the sequence flow between the Start and End events to add the Script Task.
- On the
General tab in the
Properties view, change the
Label to Generate Message, then click away from the field to save the change.
The Name changes to GenerateMessage, without the space.
- Click
User Task in the Palette.
- Click the sequence flow after
Generate Message to add a user task.
Tip: If there is not enough space in the sequence flow to add another task, move the other tasks over by dragging and dropping them. Otherwise, the sequence flow will have a bend in it to fit the task in.
- On the
General tab in the
Properties view, change the
Label to Display Message, then click away from the field to save the change.
The Name changes to DisplayMessage, without the space.
The process should now look like this.
Note: The tasks have a. This is a validation marker, and something is either wrong or missing. This prevents the deployment of the process in its current state.
To display the error message, hover over the validation marker.
The validation marker on Generate Message is a reminder to update the task to a supported grammar such as JavaScript. See How to Implement and Deploy the WelcomeUsers Application.
The validation marker on Display Message is a reminder to assign somebody to perform the task. See Add the Tester Position as a Participant in the Process.
- Press
Ctrl+S to save the changes to the process.
Tip: Select Don’t ask in future to avoid a repeat of this reminder.
- Click OK.