# Meaning and role of not\_intent

**URL:** https://forum.rasa.com/t/meaning-and-role-of-not-intent/30441
**Category:** Getting Started with Rasa
**Created:** [June 20, 2020, 11:05am UTC](https://forum.rasa.com/t/meaning-and-role-of-not-intent/30441 "2020-06-20T11:05:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![GabrieleRomeo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gabrieleromeo/32/9257_2.png) [@GabrieleRomeo](https://forum.rasa.com/u/GabrieleRomeo)
#### Post date: [June 20, 2020, 11:05am UTC](https://forum.rasa.com/t/meaning-and-role-of-not-intent/30441/1 "2020-06-20T11:05:37Z")

</div>

Hi all,

I have the following story:

```
## Search UDC: request UDC Number but stop
* search_udc
    - udc_form
    - form{"name": "udc_form"}
    - slot{"requested_slot": "udc_number"}
* stop
    - utter_want_to_end
* affirm
    - action_deactivate_form
    - form{"name":null}
    - slot{"requested_slot":null}
    - utter_ok
    - utter_goodbye

```

If I have the following slot mapping: “udc\_number”: [self.from\_entity( entity=“udc\_number”, intent=[“search\_udc”] ), self.from\_text(not\_intent=“stop”)],

But if I use the **stop intent** after the requested **udc\_number** slot the bot tries to validate it without without following the story …

What is the role of the **not\_intent** element and how can I use it to instruct my bot to follow the intended story?

Thanks

---

<div class="post-metadata">

### Author: ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)
#### Post date: [June 26, 2020, 12:52pm UTC](https://forum.rasa.com/t/meaning-and-role-of-not-intent/30441/2 "2020-06-26T12:52:30Z")

</div>

`not_intent` means the slot will not be filled if the user message is classified as any of the intents listed for that argument. So, in your case, if you never want the bot to try fill an intent from `stop` you could pass `not_intent = [stop]`.
