Guide to Building Business Processes

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Grouping Nodes in Your Business Process

You can create a group from one or more nodes or other groups. You can simplify the display of your business process in the Design view, by collapsing a group of nodes into a single node. A group can provide an extra level of exception handling logic—exception handlers that you specify for a group catch exceptions that are not handled by exception handlers defined for nodes inside the group.

You can specify groups of nodes in a business process. Also, some business process nodes are implicit groups—Client Request with Return, Decision, For Each, Do While, While Do, Parallel, Switch and Event Choice. Groups that represent these nodes and groups defined by you have the same characteristics.

This section describes how to work with groups in your business processes. It includes the following topics:

To Create Groups—Alternative 1
  1. In the Design view, click and drag your mouse around the nodes you want to group.
  2. Right-click one of the selected nodes and select Group Selected from the drop-down menu.
  3. The specified nodes are grouped inside a collapsible box in the Design view.

    You can name the group by double-clicking the default name (Group) and entering the name you want to assign.

Note: If you select a set of nodes and right-click to display the drop-down menu, the Group Select command is unavailable if the grouping of these nodes would create an invalid business process. For example if you drag a Client Response node to a Group node throws an assertion error.
To Create Groups—Alternative 2
  1. In the Design View, drag and drop Time Path Group from the Node Palette onto the business process, placing it on the business process at the point at which you want to create a group.
  2. An empty Group is created in the business process.

  3. Drag and drop nodes from the Node Palette that you want to add to the group onto the business process, placing them within the group.
To Delete, Ungroup, Collapse, or Expand Groups
  1. Click the outline or label (name) of a group to select it.
  2. Right-click to display the drop-down menu.
    • To collapse the group into a single entity, select Collapse. The group is collapsed.

    • Time Path

    • To expand the representation of the group again, right-click the collapsed group, select Expand.
    • To undo the grouping of the node, select Ungroup.
    • Note: You must first expand a collapsed group to ungroup it.

      Collapsing simplifies the view of your business process in the Design view.

      You can also toggle between collapsed and expanded groups by clicking Time Path or Time Path in the upper left-hand corner of the group.

    • Select Delete to delete the group.
WARNING: When you delete a group, you delete all the contents of that group.
To Activate Exception, Message, and Timeout Paths for Groups

Activate an exception, a message, or a timeout path for a group of nodes in the following way:

  1. In the Design view, click the outline of the group to select it.
  2. Right-click and select Add Exception Path, Add Message Path, or Add Timeout Path from the drop-down menu.
    • The following graphic associated with a group indicates that an exception handling path is activated for the group:
    • Figure 14-1 Exception Path


      Exception Path

      For more information about exception paths and how to configure them, see Handling Exceptions. To learn about the settings in the Properties pane, see Creating Exception Handler Paths.

    • The following graphic associated with a group indicates that a message path is activated for the group:
    • Figure 14-2 Message Path


      Message Path

      For information about how to configure your message path, see Adding Message Paths.

    • The following graphic associated with a group indicates that an Timeout path is activated for the group:
    • Figure 14-3 Time Path


      Time Path

      For information about how to configure your timeout path, see Adding Timeout Paths.

You can add business process nodes to the paths shown in the preceding figure, as required to define the exception handling logic.

Related Topics

Handling Exceptions

Adding Message Paths

Adding Timeout Paths

Each of the nodes described in the following topics is implicitly a group of nodes:

Defining Conditions For Branching (Decision nodes)

Creating Case Statements (Switch nodes)

Receiving Multiple Events (Event Choice nodes)

Creating Looping Logic (While Do and Do While nodes)

Looping Through Items in a List (For Each nodes)


  Back to Top       Previous  Next