dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #08451
Problem using d2:condition()
Hi all,
I've created a program with some program stages.
When I create a program indicator using the function d2:condition,
the result is not what I'm expected.
Example in the expression field :
- d2:condition('1 > 0',1,0) => result "false".
- d2:condition('#{w7N4mScR2g6.Sv4bRYIiSHy} == true',1,0) => result
"false" (#{w7N4mScR2g6.Sv4bRYIiSHy} having a "true" value)
Need help.
Thanks.
Hasina.
Follow ups