MaintainProgram
The MaintainProgram BR supports a policy level transaction which can be used to update activities for one or more currently active Programs at a time via the Program Screen.
Element/Tag |
Attribute |
Definition |
Element/Attribute Value and Description |
---|---|---|---|
<MaintainProgram> | Opening element for the rule |
|
|
<Program> | Required. Repeatable | ||
PROGRAMACTION | Required: Specifies the ProgramAction section of the Program Definition to get the transaction to generate from | Literal Value: Run / Reinstate / Change / Terminate / Start | |
<Tests> | Optional: Allows for further definition of the program fields that may be updated | ||
<Test> | Repeatable: A conditional statement that tests a MathVariable or Field against another MathVariable, Field, or literal value. | ||
<Fields> | Required: Common field definition | ||
<Field > | Required, repeatable: The opening and closing tag that encompasses <From> and <To> | ||
<FromCollection> | Required: Identifies the collection Program/Value from which data is copied. | A collection math variable of ProgramGUIDs and Values | |
<To> | Required: Name of Program field data is being copied to. | Literal field name |
XML Schema
<MaintainProgram>
<Program PROGRAMACTION="[Run | Reinstate | Change | Terminate | Start]">
<Tests>
<Test>[conditional statement]</Test>
</Tests>
<Fields>
<Field>
<From>[math variable]</From>
<FromCollection>[collection math variable]</FromCollection>
<To>[field name]</To>
</Field>
</Fields>
</Program>
<MaintainProgram>