Split activity

The Split activity is a variation of the For Each activity that can be used to break up very large messages to improve performance

During runtime, the Split activity iterates through recurring elements of a variable, processing activities on each iteration. . With the Split activity, you define how many recurring elements are returned with each loop, while the For Each activity always returns one recurring element each loop.
To use a Split activity complete the following steps:
  1. Open the Activities tab.
  2. Open the Logic folder in the Activities tab.
  3. Drag the Split activity onto the orchestration.
  4. Complete the properties fields displayed in the Summary pane.

You can add other activities within the Split loop as required. Use the Break Loop or Continue activities to control iterations of the Split loop.

Properties

Complete these fields for the Split activity:
Field Description
Activity Name Specifies the name of the activity.
Variable Name Displays a list of defined variables for an orchestration. Select a variable that contains the recurring element to loop through.
Element Name Specifies the recurring element to loop through. Click [...] to browse for a recurring element. The Select Recurring Element dialog box is displayed. Select a recurring element and click OK. An XPath expression that refers to the recurring element is displayed in the Element Name field. You can edit the generated XPath expression in the Element Name field.
Return __ Recurring Elements Per Loop Specifies the number of recurring elements to returned with each loop. The recurring elements are stored in the loopvalue_X variable.
Variable to Store the Result
Variable Name Specifies the variable that holds the set of recurring elements returned with each loop. The Variable Name field is populated with the loopvalue_X variable which is created automatically for this activity.
Attention: Do not use the loopvalue_X variable outside of the Split activity. The scope of these variables are limited to the Split activity.



Feedback | Notices


Timestamp icon Last updated: Friday, November 8, 2013


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/orch_split_activity.html