You are here: Transaction Rules > Transaction Elements > Spawns Element

Oracle® Insurance XML Configuration Guide Release 9.4.0.0 E18894_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. |  |
| 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.
| COLLECTION | Defines the collection of PolicyGUIDs and the specified amounts to be spawned. This should be a MathVariable name.
| CLIENT | A Client GUID. Used when spawning activity to one client. Not applicable for SpawnCode 09.
| CLIENTLISTQUERY | SQL SQL that returns multiple Client GUIDs. Used for spawning activities to multiple clients. Not applicable for SpawnCode 09.
| POLICYFIELD |
| FIELD | String; Variable defining the EffectiveDate of the spawn. Only applicable for SpawnCode 03.
| SPAWNCODE | Code: '01'–'05', '07', '09' As defined by codename in AsCodeSpawn in AsCode table. Determines effective date of spawned transaction. Note: Spawn by segment, and SpawnCodes 06, 08, and 10 are not supported.
| SPAWNONREVERSAL | Yes,No
| SQL | A query with the result being a policy GUID. Applicable when the SpawnCode is 09.
<Allocation> |  | TYPE | Policy Parent Segment
<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. |  | Check Combo Date Decimal Integer Money Percent Radio Text
<Suspense> | A single suspense ticket to be spawned. | TYPE | Number or GUID Indicates the suspense is based on a suspense number.
<MultiSuspense> | Required Multiple suspense tickets to be spawned. Defines the primary key type of the referenced variable. | COLLECTION |

## 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>

    <SpawnFields>

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

    </Spawn>

    </Spawns>

Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices

Open table of contents