← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Skip-logic on Events with Option Codes - can't seem to get it to work...


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:


Also - what is the source type of the source field that behaves inconsistently?


> 13. jun. 2017 kl. 08.32 skrev David Hagan <david.hagan@xxxxxxxxxxxxx>:
> 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-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp

Follow ups