SIMS icon indicating copy to clipboard operation
SIMS copied to clipboard

CAS Integration 4 - Handle Supplier Maintenance Errors (Student Profile and Aggregate Inventory)

Open HRAGANBC opened this issue 1 year ago • 1 comments

User Story

As a Ministry user, I want to be able to view any students' whose supplier information has not been successfully created due to errors, so that I can handle them seperately.

There are three components of this ticket:

  1. Identifying all events which trigger an error, and determining the impact of the error.
  2. Displaying the various errors and impacts through a new UI screen
  3. Creating a resolution path for each error

Acceptance Criteria:

1) Identifying all events which trigger an error, and determining the impact of the error.

  • [ ] Log all error types in DB according to following mapping.
Response Type Error Type (msg to display through UI) Impact
Get Supplier returns status = INACTIVE Inactive Supplier Save 'Get' Response to CAS_Supplier Table but set IsValid=false; Stop all subsequent CAS transactions; no automatic re-attempts
Get supplier returns supplierprotected = true Protected Supplier Stop all subsequent CAS transactions; no automatic re-attempts
Get supplier returns siteprotected = true Protected Supplier Stop all subsequent CAS transactions; no automatic re-attempts
Get supplier returns failed response (need Dev input) Integration error Stop all subsequent CAS transactions; no automatic re-attempts
Create new Supplier and Site OR Update Existing Site returns CAS-Returned-Messages="error message" Create / Update Supplier Information Failed Stop all subsequent CAS transactions; no automatic re-attempts

2) Displaying the various errors and impacts through a new UI screen

  • [ ] Add flag to student profile CAS screen when IsValid = false. Flag should say "Information not validated"
  • [ ] Build UI screen consistent with Fig 1 tp capture aggregate error inventory

3) Creating a resolution path for each error

  • [ ] Move record from "Errors" table to "Resolved" errors table if:
    • [ ] Error was manually resolved by Ministry staff; OR
    • [ ] Error had AutomaticRetry1=Yes and upon retry, the supplier information is successfully validated such that IsValid = true
    • [ ] Supplier information for that student was manually inputed in the student's CAS profile info and IsValid=true
  • [ ] When 'resolve' is selected, allow only one of the following resolution types to be chosen:
    • [ ] Manual resolution in CAS & SIMS
    • [ ] Other
  • [ ] In the 'resolved errors' table, the Resolution Reason can be any of the following values
    • [ ] Any of the reasons selectable by Ministry users through the resolution modal; OR
    • [ ] Automatic

Mock-Ups Fig 1 and Diagrams image.png

Fig 2 image.png

HRAGANBC avatar May 09 '24 21:05 HRAGANBC

Need to incorporate Name and SIN updates on SIMS into error handling to resolve manually with CAS.

CarlyCotton avatar Sep 06 '24 19:09 CarlyCotton

@CarlyCotton we will disable the "Retry" if there is already a pending record created.

andrewsignori-aot avatar Nov 07 '24 19:11 andrewsignori-aot

@andrewsignori-aot That works. Can we be specific and say "Pending supplier verification" status?

CarlyCotton avatar Nov 07 '24 19:11 CarlyCotton