Adding an activity to a BPEL process
Activities are the individual business tasks within the process that compose the larger business goal.
About this task
After you have created a new process, create the activities that will run the task to be performed by that process. To add an activity, proceed as follows:
Procedure
- In the palette, click the icon for the activity.
- 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. If 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.
Results
Note: The Use Data Type Variables option
may not appear if the operation being invoked by this activity uses
a WSDL message with a parameter extension. To work around this, proceed
as follows:
- Disable the Use Data Type Variables check box in the activity.
- Create two "Interface"-typed variables for the input and output. These variables are actually WSDL-message-typed, but in the BPEL process editor you select an Interface and Operation and direction (input or output) and the editor will determine which WSDL message to use.
- Add Assign activities before or after the Invoke to copy the data into these variables.