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

When undefined returned from rule, value should get reset #1553

Open
mahalakshme opened this issue Dec 9, 2024 · 1 comment
Open

When undefined returned from rule, value should get reset #1553

mahalakshme opened this issue Dec 9, 2024 · 1 comment
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Dec 9, 2024

Issue:

Issue exists in both mobile app and DEA
Previously reported from LAHI and now from APF odisha
Some of the children who don't have references from WHO charts are assigned value because of the bug

Screen.Recording.2024-12-06.at.2.48.54.PM.mov

AC:

When a rule is evaluated and undefined returned, value should get reset

@mahalakshme mahalakshme converted this from a draft issue Dec 9, 2024
@mahalakshme mahalakshme moved this from In Analysis to Focus Items in Avni Product Dec 9, 2024
@mahalakshme mahalakshme moved this from Focus Items to Analysis Complete in Avni Product Jan 9, 2025
@mahalakshme mahalakshme moved this from Analysis Complete to Ready in Avni Product Jan 9, 2025
@mahalakshme mahalakshme moved this from Ready to Analysis Complete in Avni Product Jan 9, 2025
@mahalakshme mahalakshme moved this from Analysis Complete to Ready in Avni Product Jan 10, 2025
@ombhardwajj ombhardwajj self-assigned this Jan 29, 2025
@ombhardwajj ombhardwajj moved this from Ready to In Progress in Avni Product Jan 29, 2025
@ombhardwajj ombhardwajj removed their assignment Jan 29, 2025
@ombhardwajj ombhardwajj moved this from In Progress to Ready in Avni Product Jan 29, 2025
@ombhardwajj ombhardwajj self-assigned this Jan 31, 2025
@ombhardwajj ombhardwajj moved this from Ready to In Progress in Avni Product Jan 31, 2025
@ombhardwajj
Copy link

Feature already exists "To reset a value, you can use FormElementStatus._resetIfValueIsNull() method." refer here
https://avni.readme.io/docs/writing-rules .
Rule needs to be updated

@github-project-automation github-project-automation bot moved this from In Progress to Done in Avni Product Jan 31, 2025
@mahalakshme mahalakshme moved this from Done to In Code Review in Avni Product Jan 31, 2025
@vinayvenu vinayvenu reopened this Jan 31, 2025
@github-project-automation github-project-automation bot moved this from In Code Review to Triaged in Avni Product Jan 31, 2025
@mahalakshme mahalakshme moved this from Triaged to In Code Review in Avni Product Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Code Review
Development

No branches or pull requests

3 participants