Skip to content

Instantly share code, notes, and snippets.

@chrismckelt
Created March 30, 2023 22:24
Show Gist options
  • Save chrismckelt/3f44171ccddeffb7d5c126a42af081c5 to your computer and use it in GitHub Desktop.
Save chrismckelt/3f44171ccddeffb7d5c126a42af081c5 to your computer and use it in GitHub Desktop.
mermaid

sequenceDiagram
participant ControlM participant HiLight participant Server participant APIGateway participant Eclipse

rect rgb(250, 242, 242) ControlM->>+APIGateway: HTTP POST to API endpoint to start publishing claims workflow https://TBD/job1 Note right of ControlM: Job 1 - 4am Daily APIGateway-->>Server: extract claims from Z:\Downloads\TST3\HIC\MED_CLAIMS_{DATE_TIME}.xml Note right of APIGateway: for each claim in file loop claims APIGateway-->>Eclipse: publish individual claim APIGateway->>+APIGateway:record status (accepted/rejected) end

APIGateway->>+Server: save claim audits results file
Note right of Server: Z:\Downloads???{DATE_TIME}.csv end

rect rgb(242, 250,242) Note right of ControlM: Job 2 - ControlM Batch job 6am Daily ControlM->>+HiLight: Start workflow to check for rejection status HiLight->>+Server: Create csv file of transaction IDs to query status

end

rect rgb(242, 242, 250) Note right of ControlM: Job 3 - 7am Daily ControlM->>+APIGateway: HTTP POST API endpoint to start rejected claims check https://TBD/job3 APIGateway-->>Server: extract csv latest file from Z: Note right of Server: Z:\Downloads???{DATE_TIME}.csv APIGateway-->>APIGateway: split into groups of 1000 transaction IDs loop transactionIDs APIGateway-->>Eclipse: publish batch of transactionId[] to RTRW Note right of APIGateway: status
transactionStatusList
associateName
lodgementDateTime
processStatus
reference
reportStatus
requestTransmissionType
transactionId APIGateway-->APIGateway: FILTER for rejected claims end APIGateway->>+Server: save claims audit report csv Note right of Server: Z:\Downloads???{DATE_TIME}.csv end rect rgb(250, 242, 250) Note right of ControlM: Job 4 - HiLight Batch job 8am Daily ControlM->>+HiLight: Import claims audit report HiLight-->>Server: import claims audit report csv Note right of Server: Z:\Downloads???{DATE_TIME}.csv end

@chrismckelt
Copy link
Author

%%{init: {'theme':'forest'}}%%


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment