Activity

A BPMN 2.0 Activity represents work that is performed within a Process. An Activity can be modeled as a:

  • Sub-Process - a compound Activity that is defined as a flow of other BPMN 2.0 elements or
  • Task               - an atomic Activity that cannot be broken down into a smaller unit.

Activities - both Tasks and Sub-Processes - can also, optionally, act as Looping constructs. The OMG BPMN 2.0 Specification defines two types of Looping construct:

  • Standard Loop ( while or until )
  • Multi-Instance Loop ( for each )

BPEL Properties:

  • Double-click on the Activity in the BPEL diagram
  • Right-click on the Activity in the BPEL diagram ( or the Project Browser ) and select the following context menu : BPEL | BPEL 2.0 Properties

Reference:

Field/Button

Usage

See Also

Name

Specify the name for the Activity

 

Type

Specify whether the Activity is a :

  • Task ( or )
  • Sub-Process

 

Task Type / SubProcess Type

Depending on the value selected in the Type field, the Task Type / SubProcess Type field has the following values :

Task Type :

  • Abstract
  • Business Rule
  • Manual
  • Receive
  • Script
  • Send
  • Service
  • User

 

SubProcess Type :

  • Ad-Hoc
  • Call Activity
  • Compensation
  • Embedded
  • Event
  • Transaction

 

Details

Depending on the selected Task Type, the Details tab changes as follows :

Field

Usage

Receive / Send / Service Task Type

Pool Package

Select the package that represents one of the involved Participants

Operation

Select an Operation from the list of operation(s) in the selected Pool Package

 

Assignments

Select one or more Assignment elements created in the SupportingElements package in this tab ( Optional )

Assignment

SupportingElements

Loop Details

Activities can be repeated sequentially, behaving like a loop. Specify the Activity looping details in this tab ( Optional )

Field

Usage

Loop Type

Select:

  • Standard for creating a while or until loop
  • MultiInstance for creating a for each loop

Evaluate condition at the beginning of loop

Check this option to create a while Standard loop

Default: until loop

Loop Condition

Enter a boolean condition for Standard loop or a numeric condition for MultiInstance loop

Loop Maximum

Specify the maximum value for the loop evaluation for a Standard loop ( Optional )

 

OK

Save the values entered in the dialog

 

Cancel

Discard the values entered in the dialog

 

Help

Display this Help topic

 

General

Open the UML Properties dialog

Properties

Notes:

  • Assignments tab is not applicable for Sub-Process
  • Loop Details tab is not applicable for Event Sub-Process
  • Business Rule, Manual, Script and User Task types cannot be mapped to BPEL 2.0
  • Ad-Hoc, Call Activity and Transaction Sub-Process types cannot be mapped to BPEL 2.0