Validate document_id when checking if a decision has been written for a case #13688
Labels
Feature: generic-queue
Priority: Medium
Blocking issue w/workaround, or "second in" priority for new work.
Product: caseflow-queue
Team: Echo 🐬
Type: Bug
User: AVLJ
Acting Veterans Law Judge
Milestone
User story
As an AVLJ, I need to see attorney actions on legacy cases assigned to me, so that I can draft decisions. As of right now, if the document id on the appeals associated decass record is anything other than
nil
, acting judges are shown judge actions. On occasion, this value will read "NONE". We should instead validate that the document id is valid, not just that it exists.Acceptance criteria
Out of scope
Further work to better determine what actions to show an AVLJ will be done. This issue is to only solve the issue that arose from invalid document ids.
Background/context
Allow AVLJs to be assigned legacy cases #11971
Allow AVLJs to perform judge tasks on legacy appeals #11977
Use the presence of a decision doc id to determine if a case has already gone to an attorney #13530
Technical notes
We already do validation of document ids on attorney checkout here. This could be reused.
The text was updated successfully, but these errors were encountered: