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 UDRThis chapter describes the functions that support scalable batch workflows: batch workflows that start with a Scalable Inter workflow Collector.
setPartition
This function takes a bytearray and returns a Base64 string representing the datacopies the partition associated with an existing UDR to another UDR.
Code Block |
---|
void |
...
setPartition ( drudr to, drudr from ) |
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.
Parameter | Description |
---|---|
| The UDR to which the partition |
is copied. | |
| The existing UDR from which the partition |
will be copied. This UDR must have already been assigned a partition either automatically or by other calls to |
Info | ||
---|---|---|
Example - using setPartition A simple APL example of
|