Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Private_Edition_flag.png

The Batch Scalability APL function need to be used in special situation when creating Scalable Workflows. When creating scalable Workflows the UDR going into Aggregation Agent or Duplicate UDR Agent need to be the same UDR that come from the Scalable Inter Workflow Agent others this APL need to be used to set the partition to the UDR.

setPartition

This function takes a bytearray and returns a Base64 string representing the dataThis chapter describes functions used to support scalable batch workfows, i.e, batch workflows that start with a Scalable Interworkflow Collector.

setPartition

This function copies the partition associated with an existing UDR to another UDR.

In scalable workflows all UDRs must be assigned a partition using the partition profile configured on the collector. UDRs originating at the collector are automatically assigned a partition. Aggregation sessions are also automatically assigned a partition. However if a workflow creates additional UDRs the author of the workflow is responsible for ensuring that these UDRs are assigned a partition. This function allows the author to copy the partition of an existing UDR to a newly created UDR.

Code Block
void setPartition ( drudr tofrom, drudr to from)

Parameter

Description

tofrom

The existing UDR from which the partition should be added tofromwill be copied. This UDR must have already been assigned a partition either automatically or by other calls to setPartition.

to

The UDR the partition should be getting from, this UDR need to come from Scalable Inter Workflow Agentto which the partition is copied.

Info

Example - using setPartition

A simple APL example of setPartition:

Code Block
consume {
  OutputUDR outputUDR = udrCreate(OutputUDR);
  setPartition(input, outputUDR);
  udrRoute(outputUDR);
}