Skip to content

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

  1. Add a RECRD file-location entry to the current case.
  2. Create the standard CASECLOSED task.
  3. When HasVocIssues is true and VocMailID.Trim.Length > 5, create the CASECLOSEDVOC task instead/additionally.
  4. 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.

Sources

  • SAIF.Application.Claim.Legal\LegalNet\clsOutcomeManager.vb