![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Groups are used in TIBCO ActiveMatrix BusinessWorks to specify related sets of activities. A WS-BPEL scope is roughly analogous to a TIBCO ActiveMatrix BusinessWorks group, except a scope has the capability to define variables and correlations for use within the scope. Also, many of the types of groups in TIBCO ActiveMatrix BusinessWorks are similar to WS-BPEL structured activities.The TIBCO ActiveMatrix BusinessWorks BPEL Extension uses the graphical representation of groups to provide the functionality of WS-BPEL scopes and the conditional or iterative processing of WS-BPEL structured activities. The following types of groups are available:
• Scope — similar to a scope or a flow in the WS-BPEL standard. This type of group allows you to specify a set of activities that have a common set of variables, correlations, and error-handling routines.
• Iterate — similar to a repeat until or for each structured activity in the WS-BPEL standard. This type of group allows you to repeat a set of activities once for each value in a list.
• Pick First — similar to a pick structured activity in the WS-BPEL standard. This type of group allows you to specify that the first activity that completes should determine which transition to take to continue processing. You can use this type of group to wait for one or more incoming events and continue processing based on which event is received first.
• While True — similar to a while structured activity in the WS-BPEL standard. This type of group allows you to repeat a set of activities as long as a condition is true.
• If — similar to an if structured activity in the WS-BPEL standard. This type of group allows you to specify that a set of activities is to be executed conditionally, such as in an if ... then ... else if ... construct in a programming language.Activities can be grouped or ungrouped. Also, groups can be maximized to display all activities in the group or minimized to show only a small icon for the whole group. This allows you to collapse and expand groups in an orchestration process to better display the relevant portions of the process you wish to view. Maximized groups can also be resized.
3.
4. Specify the type of group to create and any other configuration parameters required for the group. See Table 7 for more information about the fields of the group configuration tab.
5. Draw a transition from the start of the group to the first activity to execute in the group. The start of the group is the green start arrow on the left side of the group box.
6. Draw a transition from the last activity to execute in the group to the end of the group. The end of the group is the red end square on the right side of the group box.
3. Choose View>Remove a Group from the menu, or click the Undo the group button.
1. For groups that are currently maximized, click the down arrow in the upper right-hand corner of the group or double click anywhere in the group to minimize the group.Figure 26 illustrates minimizing and maximizing a group.Figure 26 Minimizing and maximizing groups
2.
3. Each activity in the group can access the output of previously set variables inside or outside the group. If the group is used for a loop (iterate or while true), the value of all variables declared in the group (including activity output) is reset so that activities in subsequent iterations of the group will not have access to output data from previous iterations. Also, any loop indexes for loops contained in loops are reset when the parent loop begins a new iteration.When a group has completed executing, output from the activities in the group is available to subsequent activities in the orchestration process. In the case of loop groups, only output from the last execution of the activity is available.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |