# Reset slots before deactivating in validate() function

**URL:** <https://forum.rasa.com/t/reset-slots-before-deactivating-in-validate-function/37928>\
**Category:** Rasa Open Source\
**Created:** [December 11, 2020, 10:39am UTC](https://forum.rasa.com/t/reset-slots-before-deactivating-in-validate-function/37928 "2020-12-11T10:39:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![forwitai](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/forwitai/32/9832_2.png) [@forwitai](https://forum.rasa.com/u/forwitai)\
**Post date:** [December 11, 2020, 1:17pm UTC](https://forum.rasa.com/t/reset-slots-before-deactivating-in-validate-function/37928/3 "2020-12-11T13:17:17Z")

</div>

Hi @JulianGerhard, thank you for the quick reply ! I’m actually still using Rasa 1, just to be sure I’m following, I need to use this [method](https://legacy-docs-v1.rasa.com/api/events/#rasa.core.events.AllSlotsReset) ? But how can I integrate it in the code you provided earlier ?

Thanks.

---

_[View the full topic](https://forum.rasa.com/t/reset-slots-before-deactivating-in-validate-function/37928)._
