# Action\_deactivate\_form is not working

**URL:** <https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530>\
**Category:** Rasa Open Source\
**Created:** [November 30, 2020, 8:06am UTC](https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530 "2020-11-30T08:06:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![acapothman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/acapothman/32/10650_2.png) [@acapothman](https://forum.rasa.com/u/acapothman)\
**Post date:** [November 30, 2020, 8:06am UTC](https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530/1 "2020-11-30T08:06:09Z")

</div>

Before this, the action\_deactivate\_form works well. However, after around two months of not using Rasa, I finally came back to test and add something out. But, I noticed that action\_deactivate\_form is not working. I have tried scrolling around to see maybe there is update or deprecated or something but I didnt find any. My question is how to solve this?

This is the only 3 stories with the form that I did before and it works just fine:

```
## enquiries happy path
* greet
    - utter_greet
    - utter_assist
    - utter_btn_Main
* enquiries
    - utter_tell_form
    - form_info
    - form{"name": "form_info"}
    - form{"name": null}
    - utter_did_that_help
* affirm
    - utter_react_positive
    - utter_anything_else
* affirm
    - utter_btn_Main

## enquiries unhappy path 
* enquiries
    - utter_tell_form
    - form_info
    - form{"name": "form_info"}
* MainMenu
    - utter_ask_continue
* deny
    - action_deactivate_form
	- form{"name": null}
	- utter_btn_Main

## enquiries unhappy path
* enquiries
    - utter_tell_form
    - form_info
    - form{"name": "form_info"}
* MainMenu
    - utter_ask_continue
* affirm
    - form_info
	- form{"name": null}
	- utter_did_that_help

```

What makes I know that the form is not deactivate is that I try it in debug mode and it shows that the form\_info is active. Can somebody help me

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [December 3, 2020, 6:56am UTC](https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530/2 "2020-12-03T06:56:20Z")

</div>

hi @acapothman heppy to try and help

1. yes we have made a lot of changes with the recent release of Rasa Open Source 2.0. But unless you have installed a new version, that shouldn’t affect you. Can you please run `rasa --version` and share the output here?
2. how are you deactivating the form? Can you pelase share the code for your form subclass?

---

<div class="post-metadata">

**Author:** ![acapothman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/acapothman/32/10650_2.png) [@acapothman](https://forum.rasa.com/u/acapothman)\
**Post date:** [December 4, 2020, 12:32am UTC](https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530/3 "2020-12-04T00:32:31Z")

</div>

Hi @amn41 thank you for responding. Apparently I tried updating to 2.0 and changing from action\_deactivate\_form to action\_deactivate\_loop and it works!

---

<div class="post-metadata">

**Author:** ![kurtsenol](https://avatars.discourse-cdn.com/v4/letter/k/cdc98d/32.png) [@kurtsenol](https://forum.rasa.com/u/kurtsenol)\
**Post date:** [December 17, 2020, 12:45pm UTC](https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530/4 "2020-12-17T12:45:03Z")

</div>

Hi @acapothman . I have the same problem. I use action\_deactive\_loop but it doesn’t work. Although the bot predicts stop intent, it still continues to ask for the required slot. I have tried both stories and rules and neither of them worked. Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [December 22, 2020, 3:41pm UTC](https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530/5 "2020-12-22T15:41:58Z")

</div>

hi @kurtsenol - can you please share what your rules look like?

---

<div class="post-metadata">

**Author:** ![kurtsenol](https://avatars.discourse-cdn.com/v4/letter/k/cdc98d/32.png) [@kurtsenol](https://forum.rasa.com/u/kurtsenol)\
**Post date:** [December 22, 2020, 6:08pm UTC](https://forum.rasa.com/t/action-deactivate-form-is-not-working/37530/6 "2020-12-22T18:08:07Z")

</div>

hi @amn41. Thanks for the reply. I solved that when I add “stop”, “affirm” and “deny” intents as “not intent” for the form slots. I think it would be better if you update documents concerning forms.
