RASA Deactivate form

Hi ,

I am filling my slot values using self.from_text() but i want that if user enters cancel the form should get deactivated

I tried using self.deactivate() inside validation function but didn’t work

Is there something i am doing wrong?

Ok…

I guess I got a work around for my situation As soon as user enters cancel, I am setting all the slots value to cancel so that the dialogue flow will shift from FormPolicy to normal Dialogue Management of RASA

Please let me know if i can do something better than that

@nilendughosal have you taken a look at the example here yet: Forms ?

@akelad yup i looked into RASA forms example, they give options to deactivate slot fillling. But i guess that worked for me.

Thanks :slight_smile: