ACTIVITYARRAY

Activity, ActivityField, and ActivityArray are used to support functionality equivalent to Spawncode 08 where the system would spawn multiples of the same transaction from a single activity.

An ActivityArray holds multiple instances of the Activity math type record. ActivityArray(s) will be created or instantiated first before the completed Activity math object can be added to the spawning ActivityArray.

Once the Activity math object is completed and the Activity math object field values are set, either by default or using set value, the object is added to an ActivityArray MathVariable to be used in the Spawn section of the transaction.

ACTIVITYARRAY Elements/Attributes
TYPE=ACTIVITYARRAY
Element Attributes Attribute Value Element Value Definition

<MathVariable>

TYPE

ACTIVITYARRAY

   
  OPERATION CREATE

A variable whose value is the length of a newly created array.

A new array with the length equal to the element value and each field value defaulting to the value of its DEFAULT attribute.

When using the CREATE operation, the value of the MathVariable cannot be blank and must be an integer (or a MathVariable containing an integer).

This value allows the system to predetermine the size of the array to build and reserve memory for it. Note: This value should be instantiated as zero (0) if the size of the array is not yet known.

    APPEND

A variable of type Activity whose value is appended to array SOURCEARRAY.

Results in new array equal to array indicated by SOURCEARRAY attribute with an additional Activity object appended.

Note: If the SOURCEARRAY attribute is specified, the name must be the same as the name of the specified VARIABLENAME.

The append operation will insert the Activity math object at the end of the array.

   

INSERT

A variable of type Activity whose value is placed in the array at a specific location/index.

The object is inserted into the array using insert operation. If the specified index does not exist (e.g. the array is too short), it will be inserted at the end of the array.

 

  LENGTH  

 

XML Example

<MathVariable VARIABLENAME="ObjectArray" TYPE="ACTIVITYARRAY" SOURCEARRAY="ObjectArray" 
OPERATION="INSERT" INDEX="3" DATATYPE="ACTIVITY">ObjectName</MathVariabl
 
<MathVariable VARIABLENAME="ObjectArray" TYPE="ACTIVITYARRAY" SOURCEARRAY="ObjectArray" 
OPERATION="CREATE" DATATYPE="ACTIVITY">0</MathVariable>
 

 

 

 

 

Oracle Insurance Logo Copyright © 2017, Oracle and/or its affiliates. All rights reserved. About Oracle Insurance | Contact Us