Implementing activities in a process
Choose the implementation for each activity in your process and set the 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 client-side human service or a heritage human service to implement the task. | Building a client-side 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 complex variables and lists in JavaScript |
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 |
Tip: To learn how to make an activity conditional,
see Configuring conditional activities.
Procedure
To select an implementation type and set its properties, complete the following steps:
Set the properties for the activity, depending on the implementation type.