Quantcast
Viewing all articles
Browse latest Browse all 1850

Program rule odd behaviour

Hi everyone

I’m having an odd behaviour with a Program Rule
The Data Element in question (lets call it Side Effect) is of Value type Yes/No
I wanted to only show another data element when Side Effect has Yes clicked
But for some reason it is not working.
I changed the program rule to print the current value of Side Effect not either Yes or No is clicked, and I got this result

For some reason it is by default evaluating to true like it has a value on the database
For similar situation on similar fields the things works well for similar program rules, but for this particular one something odd seems to be happening

Here is the expression and actions of the program rule

I’m using dhis2 2.39.7
Best regards

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1850

Trending Articles