# Right action not called, slot value not being set

**URL:** <https://forum.rasa.com/t/right-action-not-called-slot-value-not-being-set/28281>\
**Category:** Rasa Open Source\
**Created:** [May 1, 2020, 8:20am UTC](https://forum.rasa.com/t/right-action-not-called-slot-value-not-being-set/28281 "2020-05-01T08:20:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandharv30](https://avatars.discourse-cdn.com/v4/letter/g/e9c0ed/32.png) [@gandharv30](https://forum.rasa.com/u/gandharv30)\
**Post date:** [May 1, 2020, 8:20am UTC](https://forum.rasa.com/t/right-action-not-called-slot-value-not-being-set/28281/1 "2020-05-01T08:20:54Z")

</div>

I have two actions both with same purpose as of now for testing purposed. There is only a minor difference between the two.I have 3 entities and 3 slots in the first one and one entity and one slot in the second one,. Now, when I put value in the slot of the second action, the right intent is called but the slot value is set in the fist action’s slot and the action called is the first one where as the correct sequence should have been slot of the second action and second action to be called. I am attaching the files for better understanding, Nlu.md

## intent:enter\_insert\_time

- date is 2020-04-25

- date is 2020-04-25

- date is 2020-04-26

- date is 2020-04-27

- date is 2020-04-28

- date is 2020-04-29

- date is 2020-04-10

- date is 2020-04-11

- date is 2020-04-12

- date is 2020-04-13

- date is 2020-04-14

- date is 2020-04-15

- date is 2020-04-16

- date is 2020-04-17

- date is 2020-04-18

- 2020-01-18

- 2020-02-18

- 2020-03-18

- 2020-04-18

- 2020-05-18

- 2020-06-18

- 2020-07-18

- 2020-08-18

- 2020-09-18

- 2020-10-18

- 2020-11-18

- 2020-11-18

## intent:enter\_entity\_name

- entity name is India

- entity name is Pakistan

- entity name is Bangladesh

- entity name is usa

- entity name is australia

- entity name is Brazil

- entity name is Antartica

- entity name is Yemen

- entity name is Sri Lanka

- entity name is Afghanistan

- entity name is Russia

- entity name is yugosalavia

- entity name is delhi

- entity name is Germany

- entity name is Kashmir

- shahrukh

- salman

- saif

- shahid

- vicky

- amitabh

- dharmendra

- sunny

- katrina

- deepika

- priyanka

- anushka

- tara

- jennifer

- kriti

- kangna

## intent:enter\_bor\_name

- bor name is amit

- bor name is amita

- bor name is sanskrirti

- bor name is ashmita

- bor name is asmita

- bor name is megha

- bor name is ankur

- bor name is rudra

- bor name is mayank

- bor name is shrey

- bor name is dhruv

- bor name is karan

- piyush

- praveen

- manish

- meghna

- mayur

- manan

- samanvay

- krishna

- radhe

- abhishek

## intent:enter\_email

- pathakgandharv@gmail.com

- pathakbabita@gmail.com

- pathakashmita@gmail.com

- pathakvirender@gmail.com

- abc@gmail.com

- def@gmail.com

- ghi@gmail.com

- jkl@gmail.com

- lmn@gmail.com

- pqr@gmail.com

- stu@gmail.com

- vwx@gmail.com

- xyz@gmail.com

- yash@gmail.com

Stories.md

## happy path

- greet

- utter\_detail\_email

- mood\_great

- utter\_happy

## more info

- more\_info

- utter\_detail\_email

## direct api 1

- direct\_api1

- utter\_direct\_api1\_reply

- direct\_api2

- utter\_direct\_api2\_reply

- direct\_api3

- utter\_direct\_api3\_reply

## chitchat

- chitchat

- respond\_chitchat

## get email

- enter\_email

- slot{“email”: “[mahesh@gmail.com](mailto:mahesh@gmail.com)”}

- utter\_emailreply

## direct access

- direct\_api

- utter\_direct\_api\_reply

## ask for email value

- details

- utter\_detailsreply

## ask insert time

- enter\_insert\_time

- slot{“insert\_time”: “2020-03-21”}

- utter\_insert\_time\_reply

## info reply

- enter\_entity\_name

- action\_hello\_world

- slot{“entity\_name”: “hassan”}

- slot{“email”: “[mahesh@gmail.com](mailto:mahesh@gmail.com)”}

- slot{“insert\_time”: “2020-03-21”}

## sad path 1

- mood\_unhappy

- utter\_cheer\_up

- utter\_did\_that\_help

- affirm

- utter\_happy

## sad path 2

- mood\_unhappy

- utter\_cheer\_up

- utter\_did\_that\_help

- deny

- utter\_goodbye

## say goodbye

- goodbye

- utter\_goodbye

## bot challenge

- bot\_challenge

- utter\_iamabot

## abc path

- ask\_more

- utter\_bor\_name\_reply

## abcd path

- enter\_bor\_name

- action\_custom\_1

- slot{“bor\_name”: “Instrument”}

I am setting the value of bor name, but its is being set in entity\_name slot and the action called is action\_hello\_world, whereas, I want the value to go in bor\_name slot and the action that should be called is the other one.
