UpdateRoleStatus
The UpdateRoleStatus business rule allows a transaction to update the status of multiple roles. The update is not necessarily to the same status. Each status on a role is updates to its own value. The system supports three status code values from AsCodeRoleStatus:
- “01” – Active
- “98” – Inactive
- “99” – Deleted
The OIPA implementation may develop more role status codes as needed. The rule is attached to a transaction and must be listed in TransactionBusinessRulePacket.
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Values |
|---|---|---|---|---|
|
<UpdateRoleStatus> |
The opening and closing elements for the rule. |
|||
|
<FromCollection> |
<UpdateRoleStatus> |
Identifies the source of the update data. |
A MathVariable of type Collection. The keys are RoleGUIDs and the values are the new status codes for each role that will be updated. |
XML Schema
<UpdateRoleStatus>
<FromCollection>[math variable]</FromCollection>
</UpdateRoleStatus>
XML Example
<UpdateRoleStatus>
<FromCollection>CollectionMV</FromCollection>
</UpdateRoleStatus>