-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appoint should not show in MyVA as a draft, after the experience is complete #102448
Appoint should not show in MyVA as a draft, after the experience is complete #102448
Comments
I spent a couple of hours reading the platform docs and vets-api/vets-website code and haven't really gotten anywhere with this yet.
Main thing: Looking at the There's a
I'm trying to see how that's updated. There's also a
I'm also trying to see how that's updated. I found this in vets-website: src/applications/appeals/995/tests/fixtures/mocks/in-progress-forms.json
To be continued... |
So we have to update the metadata on a successful submission. Some forms delete the SiP form on a successful action in a transaction. Example: File:
|
PR - department-of-veterans-affairs/vets-api#20670 I haven't run my code yet. I'll run it tomorrow, refactor if necessary, then write tests. |
I finally got test users working locally so I can test my code. Here are the docs - https://github.com/department-of-veterans-affairs/va.gov-team/blob/d4640bb7398e8b7de94dac54af4273ff27475c46/products/identity/Products/Mocked%20Authentication/readme.md#common-issues-and-solutions |
Form is in progress locally: When the form errors, the in progress form record's metadata is updated:
|
Lots of notes to add, but I just discovered this on the in_progress_forms tables:
I got everything to working (removed the in-progress/expired form message from the Appoint tool and from the My VA page) but then discovered I couldn't submit another form:
We have to delete the save in progress record which makes all the work I've done pointless. We need to save a copy of the record in another table. Note: deleting the record will of course prevent the in-progress form from being displayed after submission like it is now. |
Ah! That's a disappointing development given all of your progress, but still an important discovery especially before we open up digital submission. Thanks for documenting everything here @holdenhinkle 👍 |
Background
When a user completes the Appoint a Rep experience, the form still shows as "in progress" in MyVA. And clicking on the link directs the user to restart the Appoint experience.
Steps to Reproduce
Acceptance Criteria
The text was updated successfully, but these errors were encountered: