Hi, suppose in slot mapping I mentioned
“customer_id”: self.from_entity(entity=“customer_id”,not_intent=[‘stop’])
In validation of this slot I mentioned that
if not self.is_int(value): dispatcher.utter_template("utter_invalid_customer_id", tracker) return {"customer_id": None} else: return {"customer_id": value}
In story
- form{"name": "bank_form"}
- form: stop
- utter_ask_continue
- form: deny
- action_deactivate_form
- form{“name”: null}
So, 1. Once the form is called it will ask user to fill this slot → this is handled. 2. But when user gives input to this slot as “stop” intent, the form still validates “None” …
How Can I avoid this validation? (when stop intent is uttered)