dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #09144
Re: JEXL extended syntax for program rules
Dear David,
these operators are not supported. See chapter 31.5 for the full list that is supported: http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch31s05.html
The android and web clients support the same operators.
In table 31.1 you see a list of supported functions, if you create a blueprint with the function(s) you want, we can add them. "d2:startsWith" seems like a useful feature, although we have already discussed adding d2:left and d2:right functions, that could also serve your purpose?
Best regards
Markus
> 26. jan. 2016 kl. 16.19 skrev David Hagan <david.hagan@xxxxxxxxxxxxx>:
>
>
> Quick question to all you tacker experts out there…
>
> For Program Rules (e.g. for event capture), is the extended JEXL syntax (e.g. =^ for ‘starts with' … or !^ for ‘not starts with’ etc.) valid? And if so, can we assume this extended skip logic applies to the mobile client?
>
> David
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
Follow ups
References