ActivityArray

Activity Array allows for the spawning of the same transaction multiple times from a single activity. By allowing each spawned transaction to reference unique data sets, any number of transactions may be spawned any number of times on the policy from a single parent transaction. For example, this could be used for an annuity payout that has multiple individuals receiving disbursements, to ensure both individuals get their correct disbursement amounts. Also, multiple activities could be spawned for Bank Drafts, Invoices or Anniversaries.

Important   This replaces Spawn Code 08 that was used with Version 8 and prior releases. This also deprecates the use of the MultiRowProcessing business rule.

To configure multiple spawning activities, the following three MathVariable types are needed :

When configuring the creation of the Activity Array the following logic is needed:

  1. Create the Activity Array.
  2. Open the Loop.
    • Create the Activity Math object.
    • Set values of the Activity Math object.
    • Add an Activity Math object to the Activity Array.
  3. Close the Loop.

To extract values, use the ActivityField MathVariable.

The Activity Array math variable is an arrangement of one or more Activity type math objects. Once field values are set using the Activity math variable, the object is added to the ActivityArray math variable to be used in the spawn section of the parent transaction.

ActivityArray Math Variable in the Rules Palette

ActivityArray Math Variable in Palette

Important   For a comprehensive explanation of the characteristics of this math variable, refer to the XML Configuration Guide in the Help menu.

Define the ActivityArray Math Variable

Drag and drop the ActivityArray math variable from the Palette window onto the Math Pane. Enter the following information for the math variable.

Aggregate Function methods Count and Index can be used with an ActivityArray.

For example, creating a Disbursement spawn activity array will use a Count of the number of Payee records. Index will return an Activity math object from the referenced location of the array. The Index value must be designated as the numeric location of the object. If there is no object at the referenced index or the array is empty, no value will be returned. Defining a default value object may be required for system stability.

Math Loop with Activity and ActivityArray:In order to populate the array with more than one Activity math object, a standard loop can be used (optional).

Important   The Activity Array math variable must be instantiated outside of the loop and the Activity object math object inside the loop.
     
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. About Oracle Insurance | Contact Us