-
Notifications
You must be signed in to change notification settings - Fork 19
Legacy Appeals tied to Non‐SSC AVLJs
The ReturnLegacyAppealsToBoard job automates the process of identifying and moving legacy appeals tied to non-SSC AVLJs. It operates on a regular schedule to ensure appeals are properly managed and moved back to the Board. This process ensures appeals are handled efficiently and in accordance with set priorities. This job identifies all Legacy appeals tied to non-SSC AVLJs, moves these appeals to the appropriate location (location 63) for further processing, updates relevant database records, and sends notifications upon completion. This job runs immediately following the weekly push priority job, or triggered manually when needed.
- Once the job runs, it updates the database with completion status and sends a Slack notification to appeals-job-alerts channel.
- The moved appeals are acted on in VACOLS.
Non-SSC:
- Non-Supervisory Senior Counsel
AVLJ:
- Acting Veteran Law Judge
To run this job, you must have the appropriate permissions within the Caseflow system. Typically, this is a role assigned to Admin or authorized personnel with access to the Caseflow demo environment.
- Log into Caseflow as BVADWISE
- Navigate to
[demo environment url]/acd-controls/test
- Scroll to the Case Movement section
- Click the Run ReturnLegacyAppealsToBoard job button
Check Banner:
- Ensure the banner confirms the job completion
Verify Appeals:
- Click on the "Download Loc 63 Appeals Last 48 hrs CSV" button
- It generates a CSV report listing the appeals that were moved in the last 48 hours.
- Open the downloaded CSV file to verify the list of appeals that were moved
- If no appeals were moved, you can click the "Download Appeals tied to Non-SSC AVLJs CSV" button to see if any qualifying appeals exist.
When the ReturnLegacyAppealsToBoardJob is triggered, the following sequence of operations is performed:
-
Appeals Identification: All appeals tied to non-SSC AVLJs are found and grouped by AVLJ.
-
Appeal Sorting: Appeals are sorted by priority and then by date (BFD19).
-
Appeal Selection: Appeals are selected based on the following criteria:
- The first selection criteria is Priority
- The second selection criteria is Docket Date
-
Appeal Movement: Selected appeals are moved to location 63 (BFCURLOC = 63):
VACOLS::Case.batch_update_vacols_location('63', appeals_to_move)
-
Record Creation: A new record is created in the returned_appeal_jobs table.
-
Completion Actions: The job updates the database record with the results, including stats and a list of appeals moved.
-
Notification: A Slack message is sent with the job summary to the appropriate channels:
- prod - #appeals-job-alerts
- prodtest - #appeals-prodtest-alerts
- uat - "#appeals-uat-alerts"
- For local and demo, the Slack message pretty prints to Rails Logs
-
Error Handling: If an error occurs, it is logged, and a Slack message is sent detailing the error.
- Docket number
- AOD
- CAVC
- Receipt Date
- Ready to Distribute Date
- Veteran File Number
- Veteran name
- Most recent hearing judge name
- Most recent deciding judge name
- Date/time moved
- Previous Owner
- BFCURLOC (derived = 63)
When an error occurs in the ReturnLegacyAppealsToBoardJob
class, the errored_returned_appeal_job
method is called. This method updates the errored_at
column and includes the error message in the stats column.
- Home
- Acronyms and Glossary
- Caseflow products
- Caseflow Intake
- Caseflow Queue
- Appeals Consumer
- Caseflow Reader
- Caseflow eFolder
- Caseflow Hearings
- Caseflow Certification
- Caseflow APIs
- Appeal Status API
- Caseflow Dispatch
-
CSUM Roles
- System Admin
- VHA Team Management
- Active Record Queries Resource
- External Integrations
- Caseflow Demo
- Caseflow ProdTest
- Background
- Stuck Jobs
- VA Notify
-
Caseflow-Team
- Tier 4
- Bat Team
- Technical Documentation
- Backend Code Patterns
- Backend Working Group
- FACOLS, VACOLS DB Schema
- Asyncable Models
- External Data: where and why
- Data Fetching Scripts
- Caseflow Data Model and Dictionary
- User Access Permissions
- Controller Schemas
- Constants
- Frontend Best Practices
- Accessibility
- How-To
- Debugging Tips
- Adding a Feature Flag with FeatureToggle
- Editing AMA issues
- Editing a decision review
- Fixing task trees
- Investigating and diagnosing issues
- Data and Metric Request Workflow
- Exporting and Importing Appeals
- Explain page for Appeals
- Record associations and Foreign Keys
- Upgrading Ruby
- Stuck Appeals
- Testing Action Mailer Messages Locally
- Re-running Seed Files
- Rake Generator for Legacy Appeals
- Manually running Scheduled Jobs
- System Admin UI
- Caseflow Makefile
- Upgrading Postgresql from v11.7 to v14.8 Locally
- VACOLS VM Trigger Fix M1
- Using SlackService to Send a Job Alert
- Technical Talks