The status of a CO Person can be calculated from the status of the CO Person Roles attached. This happens automatically under the following conditions:
- When a CO Petition is approved/the Enrollee becomes active.
- When an Expiration Policy changes the status of a CO Person Role.
The CO Person status is set to the "most preferred" status of the attached CO Person Roles. "Most preferred" is currently defined as:
- Active
- GracePeriod
- Approved
- PendingApproval (Enrollment flow pending approval)
- Confirmed
- PendingConfirmation (Invitation sent via enrollment flow)
- Invited (Invitation sent via default enrollment)
- Pending
- Suspended
- Expired
- Denied (Enrollment flow denied)
- Declined (Invitation via default enrollment declined)
- Deleted
- Duplicate
In general, active statuses are most preferred, followed by invitation statuses, and then expired statuses.
When a CO Person Role status is manually changed, the CO Person status is not automatically recalculated. The administrator should set the desired CO Person status.