Skip to content

Run attorney assignment and calendar review

This workflow processes attorney assignments and calendar review using attorney profiles, schedules, rotations, and location data, then sends qualifying schedule events to Guidewire and supports CSV export of the assignment list.

Field Value
Operation ID OP-APP-005
Trigger User runs assignment processing on frmAssignment or reviews calendars on frmCalendarReview
Libraries involved SAIF.Application.Claim.Legal, SAIF.Business.Claim.Legal, SAIF.Services.Export
Screens frmAssignment, frmCalendarReview, frmTimeOff
Inputs Attorney assignment criteria, calendar review filters
Outputs Assignment list, detail rows, workload data; optional CSV export; optional Guidewire schedule update

Steps

  1. clsAssignmentManager and clsQuickCalManager handle frmAssignment and frmCalendarReview — owned by SAIF.Application.Claim.Legal.
  2. SAIF.Business.Claim.Legal executes clsAssignmentProcess and calendar-review retrieval using attorney profiles, schedules, rotations, and location data (ATTORNEY_SCHEDULE, ATTORNEY_WORKER_ASSIGNMENT, OUT_OF_TOWN_ROTATION_ASSGN).
  3. SAIF.Application.Claim.Legal packages the returned assignment list, detail rows, and workload data for the grids.
  4. SAIF.Application.Claim.Legal sends qualifying schedule events to Guidewire after assignment processing completes.
  5. In non-production environments, this send is subject to environment-aware redirection logic (BR-APP-004).
  6. On failure: the Guidewire call failure is logged but does not fail the assignment save (BR-APP-006).
  7. SAIF.Services.Export produces the CSV download path for assignment-list export.

Process flow

The following diagram visualizes this workflow across components.

flowchart TD
    Start([User runs assignment or calendar review]) --> S1[clsAssignmentManager/clsQuickCalManager process request]
    S1 --> S2[SAIF.Business.Claim.Legal executes assignment/calendar retrieval]
    S2 --> S3[Assignment list, detail rows, workload data packaged]
    S3 --> D{Qualifying schedule event?}
    D -->|Yes| S4[Guidewire schedule update attempted]
    D -->|No| S5{CSV export requested?}
    S4 --> S5
    S5 -->|Yes| S6[SAIF.Services.Export produces CSV download]
    S5 -->|No| EndOk([Assignment/calendar results displayed])
    S6 --> EndOk

Failure and edge-case behavior

  • Guidewire schedule update failure: logged, does not fail the underlying assignment processing (BR-APP-006).
  • Non-production environment: external Guidewire/calendar integration logic is redirected per the non-production safety rule (BR-APP-004).

Sources

  • SAIF.Application.Claim.Legal/LegalNet/clsAssignmentManager.vb
  • SAIF.Application.Claim.Legal/LegalNet/clsQuickCalManager.vb