Hi David! There is a flag when you create the source field that lets you control wether the value or code should be used in the comparisons. Unfortunately the source fields is not editable once created until version 2.27 onwards. You can check the settings of your source field in the API:
https://play.dhis2.org/release1/api/programRuleVariables?paging=none&fields=name,programRuleVariableSourceType,useCodeForOptionSet&filter=name:eq:(sourceFieldName) Also - what is the source type of the source field that behaves inconsistently? Markus > 13. jun. 2017 kl. 08.32 skrev David Hagan <david.ha...@sagehagan.com>: > > Hi, > > Version: 2.26 > Build revision: a9c5994 > Build date: 2017-06-11 06:43 > > Has anyone else had problems with inconsistency in the execution of > skip-logic rules for Events? Sometimes the rules seems to work on the 'value' > ... sometimes they don't seem to work. But what I really need (since we are > doing this in two languages) is the rule to fire off the Code for an Option > Set (simple drop-down data-element with 4 values). > > Any known issues with this? > > Cheers > > David > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp