department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 197 forks source link

[Form 0781/A Failure Mailer] Spike Splitting Form 0781/a #89141

Closed NB28VT closed 1 month ago

NB28VT commented 1 month ago

Overview

When a veteran fills out Form 526 online, if they filled out the PTSD and or PTSD/assault portions of the form, we submit a Form 0781 and/or Form 0871a form respectively.

If either of these fail, we need to mail and notify them.

However, it was discovered when starting this work that it is likely impossible to implement the mailer properly with the Submit 0781 job in its current state. That, is, the current job handles submitting both Form 0781 and/or a Form 0781a. If we want to properly mail the veteran when either of these actions fail, they will have to be split into separate jobs. In addition, for tracking maintenance purposes these actions should be separate jobs anyway

Acceptance Criteria:

NB28VT commented 1 month ago

Findings summarized below:

Overview

The Problem

Worth it?

lisacapaccioli commented 1 month ago

@NB28VT This is very thorough and I think you addressed most of what I would have asked for. I agree with you and Julie that splitting the jobs doesn't seem necessary. By this time next year we will have a combined PDF. I don't feel that the user experience will be compromised if they get an email even if they didn't answer questions that are relevant to 0781a, especially if our data shows we haven't had a failure since the monitor went into place. Let's just do one message and if @juliepedtke feels that it may be useful to tweak the message for a "just in case" scenario that's fine. Julie just let us know if you want to consider changess to the email content. Thanks and great job clarifying this.

lisacapaccioli commented 1 month ago

@NB28VT Shouldn't this one be done? I thought you did this in Sprint 34.