Stories not working according to the flow set

hi,

I have been working on a password reset flow’s i.e a user wants to change his/her’s account password or user wants to change someone else password. Here goes my stories i am feeding my bot.

story 1

  • ResetPassInt
    • next_action_ask_user_for_self_or_other
  • SelfAccount
    • next_action_ask_user_empID
    • slot{“resettype:”: “self”}
  • EmployeeCodeInput{“empCode”: “85214796”}
    • action_validateempcode
    • slot{“empCode”: “85214796”}
  • MobNumberInt{“mobNum”: “9632145778”}
    • action_validatemobnumber
    • slot{“mobNum”: “9632145778”}
  • MobNumberOtp{“otp”: “999946”}
    • action_otp_validation
    • slot{“otp”: “999946”}
    • export

story 2

  • ResetPassInt
    • next_action_ask_user_for_self_or_other
  • OtherAccount
    • next_action_ask_user_email
    • slot{“resettype:”: “other”}
  • Email-fetch{“email”: "abc@abc.com"}
  • EmployeeCodeInput{“empCode”: “85214796”}
    • action_validateempcode
    • slot{“empCode”: “85214796”}
  • MobNumberInt{“mobNum”: “9632145778”}
    • action_validatemobnumber
    • slot{“mobNum”: “9632145778”}
  • MobNumberOtp{“otp”: “999946”}
    • action_otp_validation
    • slot{“otp”: “999946”}
    • export

Now problem here i am facing is that on making a query to my bot and moving on with the conversation bot is mis-behaving i.e it is responding with wrong response

I am really confused why it is happening for instance i am only feeding it with two scenarios mentioned above but it is not going good. I have tried it with other stories too but problem is persisting.

Where does it go wrong?

it is going wrong whenever i input a query simultaneously i.e -

U- reset password

B- Do you want to reset your account password or other’s account password?

Now if by any chance i input again same query i.e

U- reset password

Here bot should ask again same phrase as mentioned above but instead it goes forward with flow mentioned in the story i.e it replies with

B - Please input employee code

and this goes on till the story fed to the bot is complete

That’s because you don’t have a story for saying reset password twice, you need to add one if you want to handle that case