A Service Task represents an automated activity performed by an external service or system. Service tasks are used when work can be executed without user interaction, such as calling connectors, executing business rules, processing data, or running scripts.
Service tasks are displayed in the process diagram as a rounded rectangle containing a cog icon:
Service tasks help automate workflow activities and integrate processes with external applications, services, and business logic. They can be configured to perform different types of automated actions, including connector actions, business rule execution, or script execution. You can use a Service Task when you need to call an external system, execute a connector action, or integrate the process with third-party services.
Unlike other types of tasks, service tasks do not generate the following task lifecycle events: TASK_CREATED and TASK_COMPLETED. To monitor or report on service task execution, use the following integration events: INTEGRATION_REQUESTED and INTEGRATION_RESULT_RECEIVED.
The basic properties of a service task are:
| Property | Required | Description |
|---|---|---|
| ID | Required | Unique identifier for the user task. The value is generated automatically and cannot be modified. Example: UserTask_0w526j8. |
| Name | Optional | Name displayed on the process canvas. |
| Description | Optional | Description of the user task. Expressions can be used to generate dynamic descriptions based
on process variables. The rendered value is displayed in Digital Workspace and Admin
applications. The description can be made dynamic by writing an expression, for example: ${workflowType} for ${dealNumber} Closing Coordinator Task - Review Document. In the Digital Workspace and the Admin app, the expression is dynamically rendered as a user-friendly task description. For example, the previous expression might render as: Commitment and Policy for DEA1235385 Closing Coordinator Task - Review Document. |
| Asynchronous Continuation | Optional | When enabled, the task executes in the background using a separate transaction from the overall process execution. |
| Multi Instance Type | Required | Defines whether the task executes once or multiple times for a collection of items. The selected option determines the multi-instance execution behavior. For more information, see Understanding Multi-Instance Activities. |
| Mapping Type | Required | Defines how data is passed between the task and the process. The selected mapping type determines which process variables are available to the task and how output values are returned to the process. For more information, see Mapping Process Variables. |
In addition to the basic start event properties, a Service Task has the following properties:
| Property | Description |
|---|---|
| Implementation | Specifies the implementation executed by the service task. For connector-based service tasks, the implementation links the task to a specific connector action. The value uses the format <connector-name>.<connector-action>. For more details, see Assigning Process Elements to Service Tasks. |