Versions Compared

Key

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

Private_Edition_flag.pngThe

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

to

The UDR to which the partition

should be added to

is copied.

from

The existing UDR from which the partition

should be getting from, this UDR need to come from Scalable Inter Workflow Agent

will be copied. This UDR must have already been assigned a partition either automatically or by other calls to setPartition.

Info

Example - using setPartition

A simple APL example of setPartition:

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