Building a Complex Activity

A complex activity contains a group of activities and operations that form a single, complex business process task.

A complex activity contains activities, logic, exception processing, and interfaces necessary to create the complex activity, including other complex activities.

  1. Create a service with a business process binding.
  2. Select the Business Process tab in the service editor.
  3. Click inside the Business Process canvas to activate the Tool Palette.
    Note:

    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.

  4. Select the Complex activity from the Activities tool palette and drag and drop it onto the canvas.
  5. Do any of the following:
    • To name the complex activity, expand the properties section in the Business Process Logic Page, type the new name in the Name field, and either press Enter or click outside the field to save the value.
      Note: 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.
  6. Drag and drop activities from the Tool Palette to build the task you want your complex activity to perform. Choose from the following:
    • Create a loop.

      When the Complex activity is minimized, the center of the icon is decorated to reflect the loop.

    • Add handlers.

      A complex activity can contain default, exception, or fault handlers.

    • Build a compensation routine.

      A complex activity can contain only one compensation routine.

    • Add a timeout.
    • Define correlation sets.
  7. Define the business process variables.
  8. Connect the activities to create the flow of execution.
  9. Select File > Save from the main menu bar.
Related tasks
Creating a Loop
Defining Business Process Variables
Defining Business Process Correlation Sets
Related reference
Example Procedure for Acting on Repeating Elements in Data

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.