Re: [Dhis2-users] Assigning value to a tracked entity attribute

2017-07-23 Thread Prosper BT
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
pros...@hispuganda.org  | pros...@dhis2.org | Skype:
prospertb

On Thu, Jul 20, 2017 at 1:16 PM, Shurajit Dutta 
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@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Assigning value to a tracked entity attribute

2017-07-20 Thread Shurajit Dutta
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp