Working with basic activities
A basic activity implements a singular aspect or task within
a BPEL process. Unlike structured activities, basic activities do
not embed other activities within them.
About this task
- Invoke activity

- Use this activity to call an operation on a specific partner. Operations can be either one-way (asynchronous) or request/response (synchronous).
- Assign activity

- Use this activity for basic data manipulation through the use of expressions, to map service endpoint references to or from partner links, or to copy some form of information from one part of your process to another. For example, it could be used to update the values of your variables or partner links.
- Receive activity

- The receive activity provides web services to the process partners by waiting for external input from the partners, and channeling it into the process. It can have one or more associated reply activities if it is used in request-response operations.
- Receive choice activity

- This activity halts the process in order to wait for an operation to be called on it, or for a timeout alarm to go off. It will follow the control path that is appropriate to the first message it receives. The first activity in that path can be either a receive case element or a timeout element.
- Reply activity

- Use this activity in a synchronous (request/response) operation to return the output or fault to the partner that initiated the operation. This activity specifies the same partner implementation as the corresponding receive activity. A reply is always sent to the same partner from which a message was previously received
- Wait activity

- Use this to stop the process for a specified period of time. You configure this activity either by telling it how long it should hold up the process, or by specifying when it has waited long enough.
- Empty action activity

- Use this activity as an undefined object to act as a placeholder within your process. You might do this if you were designing a process that you expected somebody else to implement, or if you were trying to synchronize the activities within a parallel activity.
- Snippet activity

- Use this activity to compose visual expressions and Java™ code and thereby insert custom behavior into your process.
- Data Map activity

- Use this activity to compose a mapping between process variables.
Any variable can be mapped using an XML map, variables that refer
to business objects can be transformed using business object maps.
XML maps are the recommended choice.Note: Reuse of XML maps is not supported. Reuse of business object maps is supported only through the visual snippet editor, see the related topics
Reusing a business object map
for more details.
To work with a basic activity, proceed as follows:
Procedure
- In the palette, click an activity's icon.
- Drag the cursor out over the canvas. You will notice that the icon beside your cursor has a plus symbol when you are at a place where you are allowed to drop the activity. When the cursor becomes a crossed out circle, continue moving the cursor until it becomes a plus sign again.
- Click the area of the canvas where you want to drop the activity.
- Configure the activity as necessary in the Properties area of the BPEL process editor.


This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15