Store cancelled_by_id in task table #14365
Labels
Eng: Data
Mark when data has been backfilled, or the issue has any data integrity concerns
Feature: case-details
Priority: Medium
Blocking issue w/workaround, or "second in" priority for new work.
Product: caseflow-queue
Stakeholder: BVA
Functionality associated with the Board of Veterans' Appeals workflows/feature requests
Team: Echo 🐬
Type: Tech-Improvement
Milestone
Currently, to show who has cancelled a task in case timeline, we are interrogating papertrail records to find out who cancelled a task
caseflow/app/models/task.rb
Lines 584 to 594 in 660bcf5
Papertrail is a diagnostic and investigation tool, not something we should be using to display information to a user. Instead, we should store the id of the canceler on the actual task.
AC
Suggested steps
belongs_to :cancelled_by, class_name: "User"
and remove cancelled_by hacky methodNotes
The text was updated successfully, but these errors were encountered: