Copy a task to another user¶
Creates a copy of a task for the same claim and reassigns it to a new user.
| Field | Value |
|---|---|
| Operation ID | OP-12 |
| Trigger | Caller requests a copy |
| Inputs | Target MailID |
| Outputs | New task copy |
| Primary components | clsClaimTask.CopyTo, clsCoverageBTask.CopyTo |
| Entry point | SAIF.Business.Tasks.Claim/clsClaimTask.vb, SAIF.Business.Tasks.Claim/clsCoverageBTask.vb |
Steps¶
- Create a new task for the same
ClaimIDvia the type'sNewTaskfactory.
Origin: This step invokes Create a claim task (or the equivalent Coverage B creation flow). 2. Call the inherited
CopyTask(target)to copy common task state.Origin:
CopyTaskis implemented in SAIF.Business.Tasks. 3. Assign the newMailIDand return the copy asiTask.Origin: Step 3 invokes Assign or change the task owner and its rules.
Process flow¶
flowchart TD
Start([CopyTo called]) --> S1["Create new task for same<br>ClaimID"]
S1 --> S2[CopyTask copies common state]
S2 --> S3[Assign new MailID]
S3 --> EndOk([Return copy as iTask])
Failure and edge-case behavior¶
- Assignee validation failures on the copy behave identically to a normal assignment (BR-CT-03).
Related documentation¶
Sources¶
- SAIF.Business.Tasks.Claim/clsClaimTask.vb
- SAIF.Business.Tasks.Claim/clsCoverageBTask.vb