CopyToRequirementFields (For Requirements)
This business rule is attached to a requirement to allow MathVariables to be copied from the requirement to one or more fields on the Activity Requirement screen.
In addition to field values, CopyToRequirementFields will automatically update the OptionText of combo box and radio button fields.
Element | Definition | Attribute | Element/Attribute Value and Description |
---|---|---|---|
<CopyToRequirementFields> |
Required element: Opening and closing tags of the business rule. |
||
<Fields> |
Required element: The container element for the fields configuration. |
||
<Field> |
Repeatable element: This element specifies the MathVariable that should be copied from the requirement, as well as the fields on the Activity Requirement screen to which the MathVariable should be copied. |
||
<From> |
Required element: Specifies the requirement MathVariable from which the data should be copied. |
The name of the MathVariable from which the data should be copied. | |
<To> |
Required element: Defines the target field for the update. |
The name of the field on the Activity Requirement screen to which the value should be copied. |
XML Sample
<CopyToRequirementFields>
<Fields>
<Field>
<From>Expired</From>
<To>ExpiredIndicator</To>
</Field>
<Field>
<From>RequirementDefinition:RequirementName</From>
<To> RequirementName</To>
</Field>
<Field>
<From>Requirement:ResidenceState </From>
<To>ResidenceState</To>
</Field>
</Fields>
</CopyToRequirementFields>