clsOutcomeManager.CloseCase¶
Close the current legal case and create its close-task side effects.
| Field | Value |
|---|---|
| Operation ID | close-legal-case |
| Trigger | Outcome workflow closes the current case. |
| Inputs | Current manager state, current claim/case context, and workflow-specific parameters or collections. |
| Outputs | Updated collections, messages, or side effects specific to the operation. |
| Primary components | clsOutcomeManager.CloseCase |
| Entry point | SAIF.Application.Claim.Legal\LegalNet\clsOutcomeManager.vb |
Steps¶
- Add a
RECRDfile-location entry to the current case. - Create the standard
CASECLOSEDtask. - When
HasVocIssuesis true andVocMailID.Trim.Length > 5, create theCASECLOSEDVOCtask instead/additionally. - Set
CaseStatusCode = "CLOSE"and save the updated case.
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Trigger]) --> S1[Load current state]
S1 --> S2[Apply workflow rules]
S2 --> D{"Validation or security<br>issue?"}
D -->|Yes| EndErr(["Return message or block<br>action"])
D -->|No| EndOk(["Return updated workflow<br>state"])
Failure and edge-case behavior¶
- The vocational close task is skipped when the case lacks voc issues or a usable
VocMailID.
Related documentation¶
- Index
- Operations and processes
- Business rules
- Security and authorization
- Database tables
- SQL catalog
- Procedures
- API reference
Sources¶
- SAIF.Application.Claim.Legal\LegalNet\clsOutcomeManager.vb