# Rasa core not gettting reset with action restart

**URL:** <https://forum.rasa.com/t/rasa-core-not-gettting-reset-with-action-restart/12937>\
**Category:** Rasa Open Source\
**Created:** [July 15, 2019, 8:51am UTC](https://forum.rasa.com/t/rasa-core-not-gettting-reset-with-action-restart/12937 "2019-07-15T08:51:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raju](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Raju](https://forum.rasa.com/u/Raju)\
**Post date:** [July 15, 2019, 8:51am UTC](https://forum.rasa.com/t/rasa-core-not-gettting-reset-with-action-restart/12937/1 "2019-07-15T08:51:31Z")

</div>

Rasa version :- Rasa 1.1.4

While checking the unhappy path with slots, its got stuck with one of the slots and its not getting reset now. Implemented the action\_restart action as well at the end of every story but still the issue persist. Please help me with the command to reset the rasa core.

---

<div class="post-metadata">

**Author:** ![MetcalfeTom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/metcalfetom/32/1422_2.png) [@MetcalfeTom](https://forum.rasa.com/u/MetcalfeTom)\
**Post date:** [July 15, 2019, 4:22pm UTC](https://forum.rasa.com/t/rasa-core-not-gettting-reset-with-action-restart/12937/2 "2019-07-15T16:22:01Z")

</div>

Hi @Raju,

I would advise against putting `action_restart` in your stories - since it restarts the applied events, it is not necessary and will probably lead to more problems. Try training another model without any mention of it in the story data and let me know if the problem persists

---

<div class="post-metadata">

**Author:** ![Raju](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Raju](https://forum.rasa.com/u/Raju)\
**Post date:** [July 16, 2019, 7:15am UTC](https://forum.rasa.com/t/rasa-core-not-gettting-reset-with-action-restart/12937/3 "2019-07-16T07:15:18Z")

</div>

Hi @MetcalfeTom,

Thanks for your prompt response, I have added those action\_restart just to reset the slots. I have removed all the action\_restart in my stories and changed the config file to take supervised learning. I am still stuck at the point wherein I am not able to figure out how can I reset the slots after all the slots are filled without action\_restart. It will be much more helpful if you can guide me to implement the above scenario, and how to trigger multiple utterances once all the slots are filled. Feel free to reach me in case any details is required. Thanks again for your valuable suggestion.

---

<div class="post-metadata">

**Author:** ![MetcalfeTom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/metcalfetom/32/1422_2.png) [@MetcalfeTom](https://forum.rasa.com/u/MetcalfeTom)\
**Post date:** [July 16, 2019, 2:12pm UTC](https://forum.rasa.com/t/rasa-core-not-gettting-reset-with-action-restart/12937/4 "2019-07-16T14:12:04Z")

</div>

We have an [event in `rasa-sdk` called `AllSlotsReset()`](https://github.com/RasaHQ/rasa-sdk/blob/master/rasa_sdk/events.py#L52) which I would recommend - you could make a [custom action](https://rasa.com/docs/rasa/core/actions/#custom-actions-written-in-python) which returns this event. Or just fill certain slots with `None` in case you don’t want them all reset.

Have you tried using a [Form](https://rasa.com/docs/rasa/core/forms/)? Sounds like this is what you’re looking for, it will ask the user to fill each slot in sequence and then you can trigger multiple utterances in the `submit` method. You can return the `AllSlotsReset()` event in this too. If you need help with the implementation, I’d advise checking out [Juste’s article on Forms](https://blog.rasa.com/building-contextual-assistants-with-rasa-formaction/)

---

<div class="post-metadata">

**Author:** ![Raju](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Raju](https://forum.rasa.com/u/Raju)\
**Post date:** [July 16, 2019, 2:27pm UTC](https://forum.rasa.com/t/rasa-core-not-gettting-reset-with-action-restart/12937/5 "2019-07-16T14:27:21Z")

</div>

Thanks a lot @MetcalfeTom, I will definitely try that method. Can you please advise with the below behaviour of Rasa, Within the ongoing flow of filling the slots if any chitchat/out of the box are pushed it is by default triggering the default\_fallback\_action and its not at all taking any other inputs after that. All subsequent actions are going to default fallback. Can you please help how I can avoid that default fallback policy. In my story I have handled gracefully the chitchats/stop with action\_deactivate\_form. In addition to that I have used the below fallback policy.

- name: “FallbackPolicy” nlu\_threshold: 0.4 core\_threshold: 0.3 fallback\_action\_name: “action\_default\_fallback”

## Deactivation story

- greet
  - utter\_greet

- request\_onboard
  - onboard\_form
  - slot{“requested\_slot”:“migration”}

- stop
  - utter\_ask\_continue

- deny
  - action\_deactivate\_form
  - slot{“requested\_slot”:null}
