CopyToCaseFields
This business rule allows one or more MathVariables to be copied from the activity/requirement to one or more case fields. If the fields are displayed on the Case screen, the values will be viewable. In addition to field values, CopyToCaseFields will automatically update the OptionText of combo box and radio button fields.
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Values |
|---|---|---|---|---|
|
<CopyToCaseFields> |
Required element: The opening and closing tags of the CopyToCaseFields business rule. |
|||
| CASEGUID |
Required element: Math Variable |
|||
| <Fields> | <CopyToCaseFields> |
Required element: Identifies the Field section. |
||
| <Field> | <Fields> |
Repeatable element: The <Field> tag is used to update a field in AsCaseField table by passing the required information from the transaction or requirement |
||
| <From> | <Field> |
This element is used to specify the MathVariable or field from which the data should be copied. |
The name of the activity field or MathVariable that data is being copied from. |
|
| <To> | <Field> |
This element is used to specify the field on the Case screen to which the data should be copied. |
The name of the CaseField that data is being copied to. The value of the <To> tag will be saved in the AsCase or AsCaseField database table. |
XML Schema
<CopyToCaseFields CASEGUID="[math variable]">
<Fields>
<Field>
<From>Activity:HighNetWorthIndicator</From>
<To>HighNetWorthIndicator</To>
</Field>
</Fields>
</CopyToCaseFields>
XML Example
<CopyToCaseFields CASEGUID="Caseguid">
<Fields>
<Field>
<From>Activity:ProductField</From>
<To>ProductField</To>
</Field>
<Field>
<From>RadioField</From>
<To>RadioField</To>
<OptionText>RadioFieldMV</OptionText>
</Field>
<Field>
<From>ComboSQL</From>
<To>ComboSQL</To>
<OptionText>ComboSQLMV</OptionText>
</Field>
<Field>
<From>Activity:ComboField</From>
<To>ComboField</To>
<OptionText>ComboFieldMV</OptionText>
</Field>
<Field>
<From>Activity:RadioField2</From>
<To>RadioField2</To>
<OptionText>RadioField2MV</OptionText>
</Field>
</Fields>
</CopyToCaseFields>