CCALI / a2jviewer

This is the repo for the A2J Viewer
https://www.a2jauthor.org
Other
5 stars 8 forks source link

How to replicate old viewer behavior in new advanced nav viewer? #236

Open JessicaFrank opened 2 years ago

JessicaFrank commented 2 years ago

Interview contains two forks - path 1 and path 2.

Author intends user to go down path 1, get documents, interact with the court, then reload saved answer file and reload interview and go down path 2 to get 2nd set of documents.

In old a2jviewer (pre Dec 2021), when a user reloaded saved answer file, they were taken to the 1st question of an interview. Author implemented before logic on that first page to test if user had completed path 1

(example BEFORE logic: IF [Step 1 complete TF] = true or [A2J incomplete TF] = false, GOTO "2nd path", END IF)

With new advanced nav viewer, reloading a saved answer file takes the user to the page in which they left off of the interview. In this scenario, that's the "Get Document" page from Path 1.

I tried adding before logic on the get document page to trigger a look at [Step 1 complete TF], but logic doesn't rerun again with a reloaded answer file (which is generally how it should work - logic doesn't re-evaluate on pages you've already visited).

Any thoughts on how we could accomplish the original goal of this interview with the new advanced nav feature?

Options: (please add to this list if anyone comes up with other options)

GI at issue and answer file (zipped b/c Github doesn't allow .anx files): NYS Supreme Uncontested Divorce.zip answer - 2022-07-11T140705.676.zip