# Multiple intents using same entity not working as expected

**URL:** <https://forum.rasa.com/t/multiple-intents-using-same-entity-not-working-as-expected/59245>\
**Category:** Rasa Open Source\
**Created:** [August 7, 2023, 2:17am UTC](https://forum.rasa.com/t/multiple-intents-using-same-entity-not-working-as-expected/59245 "2023-08-07T02:17:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvasani](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vvasani](https://forum.rasa.com/u/vvasani)\
**Post date:** [August 7, 2023, 2:17am UTC](https://forum.rasa.com/t/multiple-intents-using-same-entity-not-working-as-expected/59245/1 "2023-08-07T02:17:35Z")

</div>

Hello!

We have an infrastructure domain bot on v1.x that handles various intents that have the same entity and it works perfectly fine. The data on 1.x are is as below:

Intents:

- VM information
- VM reboot
- VM backup
- VM update

Stories: Story 1:

- VMInfo{“vm\_name”:“abcd”}
  - slot{“vm\_name”:“abcd”}
  - utter\_VMInfoDetails
  - utter\_goodbyeNeutral
  - action\_restart

Story 2:

- VMInfo
  - utter\_what\_is\_vm
  - inform{“vm\_name”:“abcd”}
  - slot{“vm\_name”:“abcd”}
  - utter\_VMInfoDetails
  - utter\_goodbyeNeutral
  - action\_restart

Story 3:

- VMreboot{“vm\_name”:“abcd”}
  - slot{“vm\_name”:“abcd”}
  - utter\_VMreboot
  - utter\_goodbyeNeutral
  - action\_restart

Story 4:

- VMreboot
  - utter\_what\_is\_vm
  - inform{“vm\_name”:“abcd”}
  - slot{“vm\_name”:“abcd”}
  - utter\_VMreboot
  - utter\_goodbyeNeutral
  - action\_restart

and so on for each intent. This has been working perfectly fine since 2 years. But now, when we migrated to 3.3, it works when the intent and entity are speicifed together (so, stories1 and 3 work fine) but for 2 and 4, it identifies the initial intent correctly, asks for vm name and extracts the entity correctly, but then for the next step, it randomly picks any intent which uses this entity. So, for example, if I request vm info, it will ask for vm name, and when I provide the vm name, it reboots the vm or updates it instead of providing the vm info. I tried using forms, but still facing the same issue.

P.S : On 1.x, I was using single entity, single slot for all these intents. On 3.x, I tried doing that, I tried using same entity/different slots for each intent, it identifies the entity, populates the slot, but still the story is not being followed.

I have set influence\_conversation as false, as the value of vm doesnt matter.

---

<div class="post-metadata">

**Author:** ![vvasani](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vvasani](https://forum.rasa.com/u/vvasani)\
**Post date:** [August 8, 2023, 9:41pm UTC](https://forum.rasa.com/t/multiple-intents-using-same-entity-not-working-as-expected/59245/2 "2023-08-08T21:41:32Z")

</div>

Anyone has any ideas?
