# Tracker store and Mapping Policy

**URL:** <https://forum.rasa.com/t/tracker-store-and-mapping-policy/12056>\
**Category:** Rasa Open Source\
**Created:** [June 25, 2019, 5:38pm UTC](https://forum.rasa.com/t/tracker-store-and-mapping-policy/12056 "2019-06-25T17:38:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dijpma](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Dijpma](https://forum.rasa.com/u/Dijpma)\
**Post date:** [June 25, 2019, 5:38pm UTC](https://forum.rasa.com/t/tracker-store-and-mapping-policy/12056/1 "2019-06-25T17:38:25Z")

</div>

I use

```auto
intent = agent.tracker_store.retrieve(response[0]["recipient_id"]).current_state()['latest_message']['intent']['name']

```

To get the name of the most recent intent from the user

Whenever our mapping policy triggers an action on the action server the tracker resets with  
`return [UserUtteranceReverted()]` as to not to interfere with the conversation flow. So I cannot get the most recent intent from the DialogStateTracker if the intent triggers the Mapping Policy.

Is it possible to get a history from the Agent the includes the intents that are removed by the Mapping Policy?

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [June 28, 2019, 2:11pm UTC](https://forum.rasa.com/t/tracker-store-and-mapping-policy/12056/2 "2019-06-28T14:11:54Z")

</div>

No, I’m afraid if an event is reverted that information is lost. Where are you executing that code and what are you using it for?
