You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story
As a student, I am subject to a number of program year totals within my financial aid assessment. Some, like the award program year limits, have already been worked on and identified by PT assessment. New items we need to be saved and persisted across future applications just like PY limits.
Acceptance Criteria
For every FT assessment we need to save the following variables to workflow data to be used in other applications in the same program year:
calculatedDataExemptScholarshipsBursaries
calculatedDataSpouseContributionWeeks
calculatedDataTotalFederalFSC
calculatedDataTotalProvincialFSC
Provide a way in Camunda to access these variables and use in calculations:
programYearTotalScholarshipsBursaries
programYearTotalSpouseContributionWeeks
programYearTotalFederalFSC
programYearTotalProvincialFSC
Technical
No SFAS related data required.
Save any variable not present yet into the workflow_data to allow the SUM.
- AssessmentGateway workflow has been changed to save the following data
in the workflow data
> - calculatedDataExemptScholarshipsBursaries
> - calculatedDataSpouseContributionWeeks
> - calculatedDataTotalFederalFSC
> - calculatedDataTotalProvincialFSC
![image](https://github.com/user-attachments/assets/a58ee079-0016-4d17-9a66-c07fa46f6dd6)
- Refactored the method
[getProgramYearPreviousAwardsTotals](https://github.com/bcgov/SIMS/blob/main/sources/packages/backend/libs/services/src/students-assessments/assessment-sequential-processing.service.ts#L148)
to reduce the call to the database in fetching the sequenced application
and assessment.
- Created a private method as requested in the ticket and additionally
created another method getFTProgramYearContributionTotals to process the
contribution total logic.
- E2E test case was updated to show the created variables and new E2E
created to test the sum logic in the query.
> - programYearTotalScholarshipsBursaries
> - programYearTotalSpouseContributionWeeks
> - programYearTotalFederalFSC
> - programYearTotalProvincialFSC
Note: PR separation is not done, as the workflow change was very minor
and it can be accommodated in a single PR.
---------
Co-authored-by: guru-aot <[email protected]>
User Story
As a student, I am subject to a number of program year totals within my financial aid assessment. Some, like the award program year limits, have already been worked on and identified by PT assessment. New items we need to be saved and persisted across future applications just like PY limits.
Acceptance Criteria
For every FT assessment we need to save the following variables to workflow data to be used in other applications in the same program year:
Provide a way in Camunda to access these variables and use in calculations:
Technical
programYearTotal
logo plus the new one.programYearTotal*
variables present in theassessment-gateway
and this is what should be demoed.getProgramYearPreviousAwardsTotals
.The text was updated successfully, but these errors were encountered: