← Back to team overview

dhis2-users team mailing list archive

Re: Assigning value to a tracked entity attribute

 

Dear Nick,

It works for me when am I assign to a data element/attribute without
options, could you have the attribute being assigned have now option set?

Otherwise it may require you to assign using the option set code.

Regards

Prosper Behumbiize, MPH
DHIS2 Implementation| HISP Uganda
prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
prospertb

On Thu, Jul 20, 2017 at 1:16 PM, Shurajit Dutta <shurajitdutta@xxxxxxxxx>
wrote:

> Hello,
>
> I am trying to assign a value from a data element within a program stage
> to a tracked entity attribute of the same program. They are both assigned
> the same option set. I would like to assign the option that is selected
> during tracker capture back to the tracked entity attribute. This is how I
> have configured the action:
>
>
> [image: Inline image 1]
> The expression is being evaluated correctly as this is also tied to a
> second action (display text) which is working fine. Also when I check the
> console I can see it being evaluated correctly. Any help on this would be
> appreciated.
>
> Thanks,
> Nick
>
> --
> Shurajit Dutta
> Health Information Consultant
>
> _______________________________________________
> 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
>
>

PNG image


References