Skip to content

clsAssignmentManager.RunAssignmentProcess

Run the attorney-assignment batch inside explicit transaction boundaries.

Field Value
Operation ID run-assignment-process
Trigger A user or job starts the assignment process.
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 clsAssignmentManager.RunAssignmentProcess
Entry point SAIF.Application.Claim.Legal\LegalNet\clsAssignmentManager.vb

Steps

  1. Call OnTransactionStart.
  2. Run clsAssignmentProcess.
  3. In a Finally block, call OnTransactionStop(WriteResult) and rethrow failures.
  4. Evaluate Testing so non-production runs stay in test mode.

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

  • Errors are rethrown after transactional cleanup so callers can detect failure.

Sources

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