# Setting a Slot in default fallback whilst using "UserUtteranceReverted()"

**URL:** <https://forum.rasa.com/t/setting-a-slot-in-default-fallback-whilst-using-userutterancereverted/47636>\
**Category:** Rasa Open Source\
**Created:** [September 10, 2021, 10:45am UTC](https://forum.rasa.com/t/setting-a-slot-in-default-fallback-whilst-using-userutterancereverted/47636 "2021-09-10T10:45:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [September 10, 2021, 11:36am UTC](https://forum.rasa.com/t/setting-a-slot-in-default-fallback-whilst-using-userutterancereverted/47636/2 "2021-09-10T11:36:23Z")

</div>

Hello!

`UserUtteranceReverted` reverts everything after the user’s message - including setting the slot.

I don’t know if events (the list in `return`) are processed in order and if that order matters. If yes, try to to revert the utterance BEFORE setting the slot:

```auto
return [UserUtteranceReverted(), SlotSet('safety_net_count', safety_net_count)]

```

If this does not work, try to use `ActionReverted()` instead:

```auto
return [ActionReverted(), SlotSet('safety_net_count', safety_net_count)]

```

If this doesn’t work as well, please explain more about what you’re trying to do so I can know if there are other ways 🙂

I suggest you also read this thread: [Difference ActionReverted and UserUtteranceReverted](http://forum.rasa.com/t/difference-actionreverted-and-userutterancereverted/13327).

---

_[View the full topic](https://forum.rasa.com/t/setting-a-slot-in-default-fallback-whilst-using-userutterancereverted/47636)._
