clsCreateFileManager clsMailDateManager.OnWrite¶
Commit pending create-file or mail-date changes, then submit the shared letter batch.
| Field | Value |
|---|---|
| Operation ID | submit-letter-batch-after-write |
| Trigger | Create-file or mail-date workflow saves changes. |
| 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 | clsCreateFileManager / clsMailDateManager.OnWrite |
| Entry point | SAIF.Application.Claim.Legal\LegalNet\clsCreateFileManager.vb |
Steps¶
- Save the pending workflow changes.
- End the pending transaction explicitly with
DataLayer.DAL.EndTransaction(DPI.PortalID, True). - Submit the Appworx batch job
LGN0002_LEGALNET_LETTERSfor applicationLegalNet.
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¶
- Batch submission happens only after the transaction has ended successfully.
Related documentation¶
- Index
- Operations and processes
- Business rules
- Security and authorization
- Database tables
- SQL catalog
- Procedures
- API reference
Sources¶
- SAIF.Application.Claim.Legal\LegalNet\clsCreateFileManager.vb
-
- SAIF.Application.Claim.Legal\LegalNet\clsMailDateManager.vb