A complex activity contains a group of activities and operations that form a single, complex business process task.
To create a complex activity, open the Activities tool palette and drag a Complex activity onto the business process canvas. Then, double-click the complex activity to open it and add any activities, logic, exception processing, and interfaces necessary to create the complex activity, including other complex activities.
To build a complex activity:
Select the Business Process tab in the service editor.
Click inside the Business Process canvas to activate the Tool Palette.
If the Tool Palette does not appear either on the Fast View shortcut bar or as an open view in the perspective, open the Tool Palette.
Select the Complex activity icon from the Activities tool palette and drag it onto the canvas. Do any of the following:
To name the complex activity, either expand the Properties section in the Business Process Logic Page or open the Properties Panel view, type the new name in the Name field, and either press Enter or click outside the field to save the value.
You can also change an activity's name directly on the canvas. Select the activity, then click its label. When the label appears in a box, type the new name.
To enlarge the complex activity canvas, click Maximize in its title bar.
The canvas for the complex activity is then as large as your original business process service canvas.
To return a complex activity to its original icon, click Minimize in its title bar.
Drag and drop activities from the Tool Palette to build the task you want your complex activity to perform. Choose from the following:
When the Complex activity is minimized, the center of the icon is decorated to reflect the loop.
A complex activity can contain default, exception, or fault handlers.
Building a compensation routine
A complex activity can contain only one compensation routine.
Save the service. Select File|Save from the main menu bar.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com