ScottS
Actors
- User
- OpenRegistry
- Database
Pre-Conditions
- PRE1: User has authenticated with system
- PRE2: User has chosen SoR to work with
- PRE3: User has chosen SoR Person to add role to
- PRE4: User has authorization to add role to person
- PRE5: Defined list of appropriate roles
- PRE6: Either consistent rules on validation, or a pre-configured validation of rules
- PRE7: Data Standardization and Normalization Rules are defined
- PRE8: Required Fields / Role Information is defined for an SoR in an Interface Specification on top of the standard required fields.
Flow
- User chooses role/affiliation that they wish to add to person. MUST BE FROM APPROVED LIST: PRE5.
- Based on the role/affiliation chosen, the user will have to enter some of the information below:
- Status
- Sponsor & Sponsor Type
- Start Date
- Percent Time
- Role ID for the SOR (not required, but recommended for any SOR that can provide it. MUST be generated otherwise)
- Based on the negotiated Interface Specification (PRE8), there may be additional requirements such as (but not limited to)
- At least one email address supplied
- Termination Date/Reason is required and can't be further than 6 months out.
- Supplied information is validated.
- Supplied information is normalized and standardized per PRE7.
- Supplied information is persisted for SoR
- Calculated Person is re-calculated (reconciliation of roles?).
- Business Rules are Executed
- If a new Role ID was created, passed back to user.
Post Conditions
- Downstream systems should be notified of the new role and attributes created for this person.
Business Rules
- Required Fields are dependent on meta data defining validation rules. They may be per deployment, or SoR.
- Start Date MUST be before End Date.
Exceptions
- EX1: Any errors should stop flow, including authorization, database, etc.
- EX2: If any rule calculation fails, the flow should fail.
{"serverDuration": 12, "requestCorrelationId": "86579a3978174fe8b3bcd479221977fd"}