# Ability to configure OptionText for Combo box and Radio buttons while Spawning Activity Multifields

When an activity with Multifields is spawned, the Spawn configuration does not have support to provide OptionText for combo and radio buttons. With this feature configuration used to spawn child activity with Multi fields will be enhanced to pass OptionText to the child activity.

ACTIVITY type math variable will be configured to assign values to MultiField Fields. New attributes OPTIONTEXT and GROUPNAME are added to ACTIVITY type math variable.

- OPTIONTEXT attribute will be used to provide optiontext to the field

- GROUPNAME attribute is used to provide MultiField group name.

GROUPNAME is required if multiple Groups are defined within MultiField rule referenced by the child transaction.

- If GROUPNAME is not configured and the Activity field name referenced is unique within the multi field rule being referenced in the child activity then OIPA will identify the field and its GROUPNAME

- If a single Group is present in the MultiField rule referenced by the child activity and GROUPNAME is not configured then OIPA will assign the single group name for GROUPNAME.

- OIPA displays an error if GROUPNAME does not match with the group name present in multi field rule.

## Schema

    <MathVariable VARIABLENAME="ObjectName" TYPE="ACTIVITY" OPERATION="SETVALUE" FIELDNAME="[String]" GROUPNAME="[String]" OPTIONTEXT="[String]" INDEX ="[Integer|String]" DATATYPE="[String]">[String]</MathVariable>

## Spawn

Spawn syntax in Transaction is used to spawn child activities. Spawns contain MultiFields which can be used to provide values to the MultiFields rule referneced within child activity while spawning activities.

<OptionText> element will be added as a child to <Field> element to provide optiontext for radio and combobox.

### Spawn Schema

    <Spawns>

    <Spawn>

    <Transaction SPAWNCODE="03" FIELD="FieldName">TransactionName</Transaction>

    <SpawnFields>

    <SpawnField>

    <From>[field | variable]</From>

    <To>[literal | field | variable]</To>

    <DataType>[Check | Combo | Date | Decimal | Integer | Money | Percent | Radio | Text | TextArea]</DataType>

    </SpawnField>

    </SpawnFields>

    <Allocation TYPE="[Policy | Parent | Segment | Program]" ProgramGUID="[field | variable]">[literal | variable]</Allocation>

    <Suspense TYPE="[Number | GUID]">[field | variable]</Suspense>

    <MultiSuspense TYPE="[Number | GUID]">[variable]</MultiSuspense>

    <MultiFields RULE="[rule name]">

    <MultiField NAME="[group name]">

    <Fields>

    <Field>

    <FromIndexCollection>[variable]</FromIndexCollection>

    <To>[field name]</To>

    <DataType>[Check|Combo|Radio|Integer|Date|Decimal|Percent|Money|Text|TextArea]</DataType>

    <OptionTextCollection>[Combo|Radio]</OptionTextCollection>

    </Field>

    <Field>...</Field>

    </Fields>

    </MultiField>

    <MultiField>...</MultiField>

    </MultiFields>

    </Spawn>

    </Spawns>

## Required Manual Configuration Updates

ACTIVITY type math variable assigning values to the Multifields fields and Multifields in the Spawn section should be configured with OPTIONTEXT attribute to display OptionText for combo box and radio button type fields when an activity with Multifields is Spawned otherwise OptionText will not be displayed on UI.

| Copyright © 2025, Oracle and/or its affiliates. All rights reserved. | About Oracle Insurance | Customer Support