Skip to content
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

Direct camunda update outside of release for Family size that is exactly 7 is not represented in our DMN tables #4264

Closed
2 tasks done
Joshua-Lakusta opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
Ad-hoc Bug Something isn't working Dev & Architecture Development and Architecture User Story

Comments

@Joshua-Lakusta
Copy link
Collaborator

Joshua-Lakusta commented Jan 17, 2025

As a student i need to be able to be assessed when my family is exactly 7 members

Acceptance Criteria

  • Add an option into the dmn for a family size of exactly 7 (change the greater then 7 to greater then or equal to 7)
  • Direct DMN table update to prod, staging, and test

Additional Context
Found that DMN does not have a family size of 7 option
DMN can be manually updated until full fix is in
Pushed this DMN fix immediately to prod while completing normal development process

image.png

@Joshua-Lakusta Joshua-Lakusta added Bug Something isn't working Dev & Architecture Development and Architecture User Story labels Jan 17, 2025
@Joshua-Lakusta Joshua-Lakusta changed the title Copy of Family size that is exactly 7 is not represented in our DMN tables Direct camunda update outside of release for Family size that is exactly 7 is not represented in our DMN tables Jan 17, 2025
@dheepak-aot
Copy link
Collaborator

dheepak-aot commented Jan 18, 2025

Activity Performed

DMN dmnPartTimeAwardFamilySizeVariables(parttime-assessment-decisions.dmn) was updated directly in DEV, TEST, STAGING and PROD.

Process

Note As we could not find a way to update the dmn runtime directly in cluster, this alternate process was followed.

  • STEP 1: Import the DMN file from the latest release version tag into camunda web modeler.
  • STEP 2: Updated the condition for family size to >= 7 from > 7 in dmnPartTimeAwardFamilySizeVariables
  • STEP 3: Deployed the DMN from web modeler.

image.png

- [x] The above process was deployed to DEV and validated and then deployed to test. - [x] After the approvals it was deployed to Staging and Prod by @bidyashish . - [x] In staging and prod a project was created with `Deploy` and `Rollback` having dmn file with and without update respectively.

Post Deployment

  • Verified the production data(by @bidyashish ) to check how many applications had family size = 7. And found only one.
select
    application.id,
	application.application_number,
	application."application_status",
	assessment."student_assessment_status",
	assessment.workflow_data -> 'calculatedData' ->> 'familySize' AS family_size
from
	sims.applications application
inner join sims.student_assessments assessment on
	application.current_assessment_id = assessment.id
where
	application."application_status" not in ('Overwritten', 'Cancelled')
	and assessment.workflow_data -> 'calculatedData' ->> 'familySize' = '7'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ad-hoc Bug Something isn't working Dev & Architecture Development and Architecture User Story
Projects
None yet
Development

No branches or pull requests

4 participants