# Tracker Capture: Program Rule to Assign Value to Tracked Entity Attribute

**URL:** <https://community.dhis2.org/t/tracker-capture-program-rule-to-assign-value-to-tracked-entity-attribute/37079>\
**Category:** Support - Assistance technique\
**Tags:** tracker\
**Created:** [25 September 2019 12:50 UTC](https://community.dhis2.org/t/tracker-capture-program-rule-to-assign-value-to-tracked-entity-attribute/37079 "2019-09-25T12:50:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![damasceno.lopes](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/damasceno.lopes/32/28360_2.png) [@damasceno.lopes](https://community.dhis2.org/u/damasceno.lopes)\
**Post date:** [25 September 2019 12:50 UTC](https://community.dhis2.org/t/tracker-capture-program-rule-to-assign-value-to-tracked-entity-attribute/37079/1 "2019-09-25T12:50:52Z")

</div>

Hi team,

Im new using DHIS2 Tracker Capture. What I’m trying to do is asign value from Stage data element to Entity Tracker Property after event end. It is possible Im having difficulties with program rules.

DHIS2 V2.30

Thank you,  
Damasceno

---

<div class="post-metadata">

**Author:** ![damasceno.lopes](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/damasceno.lopes/32/28360_2.png) [@damasceno.lopes](https://community.dhis2.org/u/damasceno.lopes)\
**Post date:** [26 September 2019 12:26 UTC](https://community.dhis2.org/t/tracker-capture-program-rule-to-assign-value-to-tracked-entity-attribute/37079/2 "2019-09-26T12:26:40Z")

</div>

Hi,

During my tests I check that the Program Rule assigns well the value to Data Element but not working for Tracked Entity Attribute.

 ![Untitled](https://dhis2.b-cdn.net/uploads/default/original/3X/2/3/23c91e372ed9b83739d766e49f61d619c790b2a8.png)

@jomutsani is necessary to report bug on jira?

---

<div class="post-metadata">

**Author:** ![damasceno.lopes](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/damasceno.lopes/32/28360_2.png) [@damasceno.lopes](https://community.dhis2.org/u/damasceno.lopes)\
**Post date:** [26 September 2019 14:53 UTC](https://community.dhis2.org/t/tracker-capture-program-rule-to-assign-value-to-tracked-entity-attribute/37079/3 "2019-09-26T14:53:27Z")

</div>

@jomutsani I notice that filling on mobile app It works as expected. Thank you.

---

<div class="post-metadata">

**Author:** ![omielp](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/omielp/32/28088_2.png) [@omielp](https://community.dhis2.org/u/omielp)\
**Post date:** [26 November 2019 09:42 UTC](https://community.dhis2.org/t/tracker-capture-program-rule-to-assign-value-to-tracked-entity-attribute/37079/4 "2019-11-26T09:42:01Z")

</div>

I wanted to do the same in version 2.32 and it failed completely even with Mobile app. It is critical functionality for the program rule assignment and helps to update the attributes of the tracked entity with events from the stages.
