Oracle® Rules Palette Release 9.1.0.0.0 E15811-01

# Spawns Element

## Description

The Spawns element generates subsequent transactions based on defined criteria. Includes the values of the fields in the activity it is spawning.

Element/Tag | Definition | Attribute | Element/Attribute Value and Description
<Spawns> | This is the start and end element for the transaction. |  |
<Spawn> | Individual Spawn | IF | String; Condition when true initiates the spawn. If not present spawn will generate under all conditions. Go to Operators available for EXPRESSION writing to see what operators you may use for condition writing.
<Transaction> |  |  | String; Name of the transaction to be spawned.
FIELD | String; Variable defining the EffectiveDate of the spawn. Only applicable for SpawnCode 03, 08 and 10.
SPAWNCODE | Code; As defined by codename in AsCodeSpawn in AsCode table. Determines effective date of spawned transaction. Note: Spawn by segment, SpawnCode 06, is not implemented in the code. SpawnCode 10 is not in AsCode.
<SpawnFields> | Opening and closing tags identify the SpawnField section of the spawn. |  |
<SpawnField> | Identifies and defines the fields that will be spawned and value populated when the activity processes. |  |
<From> | Defines the value of the Activity field or MathVariable passed to the spawn. |  | Name of ActivityField or MathVariable in the transaction to pass.
<To> | Defines the field in the spawned activity to be populated. |  | Name of ActivityField or MathVariable in the spawning transaction to receive passing value.
<DataType> | Defines the value of the DataType for the spawned Activity field. |  |
<Allocation> |  | TYPE | Policy
<Suspense> | A single suspense ticket to be spawned. | TYPE | Number; Indicates the suspense is based on a suspense number.

## XML Example

<Spawns>

<Spawn>

<Transaction SPAWNCODE="03" FIELD="NextCycleDate">EntryReportByAccount</Transaction>

<SpawnFields>

<SpawnField>

<From>GroupByField</From>

<To>GroupBy</To>

<DataType>Text</DataType>

</SpawnField>

<SpawnField>

<From>NextCycleDate</From>

<To>FromDate</To>

<DataType>Date</DataType>

</SpawnField>

<Allocation TYPE="Policy">02</Allocation>

</Spawn>

</Spawns>