Skip to main content
Skip table of contents

User Task

Element

Description

A User Task waits for an external trigger to arrive which is released by human action, for example after a form has been filled. If the process execution reaches a user task, the process stays in a wait state until a specific message is received by the engine, which triggers continuation of the process.

Attributes

Particularity

  • Form: Use the attribute Form in the Attributes Panel to select one of your forms. The drop-down list contains all forms that are available in the current service. When you select a form, the icon  appears. If you click on this icon, the related form opens in a new window.

  • Trigger Events: Use the attribute Trigger Events to define which button of a form associated to the element triggers the default process flow of a BPMN process.

State

Waiting_for_<name of the user task with underscores>, e.g. Waiting_for_User_Task

Execution

Name

Parameters

Type

Direction

Description

API

Get Data

return

Any

out

Executed before showing the form. Default type of the output parameter is Any but you can also use your own Library or Data Model class.

If a form is linked to a User Task, the form type is automatically determined as type of return. In this case, the type is read-only.

GET /{id}/<name of the task with underscores>
GET /{id}/User_Task

On Exit

message

Any

in

Executed after having displayed the form. Default type of the input parameter is Any but you can also use your own Library or Data Model class.

If a form is linked to a User Task, the form type is automatically determined as the type of message. In this case, the type is read-only.

POST /{id}/<name of the task with underscores>
POST /{id}/User_Task

Editing and Styling

  • Refer to Working with the BPMN Editor for further information regarding editing of BPMN elements using the different context menus on the diagram pane.

  • Refer to Styling BPMN Elements for further information regarding styling possibilities for BPMN elements, for example how to change the background color, the font style and size etc.

BPMN_User_Task_Example

Click here to download a simple example model that shows what you can do with User Tasks in Scheer PAS Designer.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.