Implementing activities
Choose the implementation for each activity in your process diagram and set required properties.
About this task
| Implementation option | Description | See... |
|---|---|---|
| User Task | Select this option if an activity is to be started or completed by a user (human performer). For example, if an activity requires that managers enter employee data, choose User Task and select or create a Human service to implement the task. | Building a Human service |
| System Task | Select this option if an activity is to be completed by an automated system or service. For example, if an activity requires integration with an external system, such as a database, choose System Task and select or create an Integration service to implement the task. | Service types |
| Decision Task | Select this option when you want a decision or condition in a business rule to determine which process implementation is started. For example, if you want Process Designer to implement an activity when a condition evaluates to true, choose Decision Task and select or create a Decision service to implement the task. | Service types |
| Script | Choose this option if you plan to create a script to implement an activity. A Script activity runs a Java™ script. | Using JavaScript variables and objects |
| Subprocess | Use this option to encapsulate logically related steps within a parent process. Steps in a subprocess can directly access business objects (variables) from the parent process. No data mapping is required. However, unlike a linked process, a subprocess can be accessed and instantiated only from the parent BPD, and it is not reusable by any other process or subprocess. Therefore, use a subprocess for those implementations that are limited to a single business process definition (BPD). | Subprocess types |
| Linked Process | You can implement an activity by using a linked process. Linked processes encapsulate logically related steps within a process while retaining the high-level view of the parent process. Linked processes differ from subprocesses because they can be accessed and instantiated from processes other than a single parent process. | Working with linked processes |
| Event Subprocess | Use this specialized subprocess to model event-handling logic for a process or subprocess. It is triggered upon occurrence of a configured start event, and it is not connected to other steps through a sequence flow. It has access to the business objects (variables) of its parent process, and can encapsulate steps that use those variables. When triggered, an event subprocess can either interrupt the execution of its parent or can run in parallel. | Modeling event subprocesses |
| None | Select this option if you are not ready to associate an implementation. Use this option to create a temporary placeholder activity in your process diagram until an implementation is available. If you run a process that includes an activity with this option selected, the task completes immediately after it starts. |
Tip: To learn how to make an activity conditional,
see "Configuring conditional activities".
Procedure
When the implementation that you want to use is created, such as a service, complete the following steps to select it: