botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
76 stars 88 forks source link

Flow is reaching end on choice skill selection #440

Closed vinayak99999 closed 6 years ago

vinayak99999 commented 6 years ago

Sorry I am new here...i have single choice component which flows to a new node based on value selected.But the flow is reaching end or terminated.First choice is executing fine but second terminates

2:55:33 - debug: Dialog: [ N/A ] ( N/A )                      ~>  SEND          "#!builtin_single-cho"
12:55:49 - debug: Dialog: [main] (diet)                        <~  RECV          "Daily diet plan "
12:55:49 - debug: Dialog: [main] (diet)                        !!  KALL
12:55:49 - debug: Dialog: [main] (diet)                        ..  KALL
12:55:49 - debug: Dialog: [main] (diet)                        !!  RECV
12:55:49 - debug: Dialog: [main] (diet)                        ..  RECV
12:55:49 - debug: Dialog: [main] (diet)                        ??  MTCH          cond = "event.text === "Daily diet plan " || event.text === "daily diet plan ""
12:55:49 - debug: Dialog: [ N/A ] ( N/A )                      >>  FLOW          "selectdiet"
12:55:49 - debug: Dialog: [main] (selectdiet)                  !!  ENTR
12:55:49 - debug: Dialog: [ N/A ] ( N/A )                      ~>  SEND          "#!builtin_text-0TMpI"
12:55:49 - debug: Dialog: [ N/A ] ( N/A )                      ~>  SEND          "#!builtin_single-cho"
12:55:53 - debug: Dialog: [main] (selectdiet)                  <~  RECV          "vegetarian"
12:55:53 - debug: Dialog: [main] (selectdiet)                  !!  KALL
12:55:53 - debug: Dialog: [main] (selectdiet)                  ..  KALL
12:55:53 - debug: Dialog: [ N/A ] ( N/A )                      >>  FLOW          "end"
12:55:53 - debug: Dialog: [main] (end)                         !!  ENTR
12:55:53 - debug: Dialog: [ N/A ] ( N/A )                      ~>  SEND          "#!builtin_text-8BrHU"
vinayak99999 commented 6 years ago

Is there any limitations on number of nodes? I have used 16 nodes now it wont flow to next node instead it ends the flow

epaminond commented 6 years ago

@vinayak99999 , logs mention KALL. Could you check whether you have a "catchAll" statement added in that flow? To check that, doubleclick on an empty space in FlowEditor of specific flow.

vinayak99999 commented 6 years ago

no, I dont have "catchAll" statement, but as you can see previous single choice is executing fine. I just tried to just let it flow to next node directly without condition, but same result it ends the flow

epaminond commented 6 years ago

Could you share access to the bot you are developing with me so that I can reproduce an issue?

vinayak99999 commented 6 years ago

i have 16 nodes and 4 of them have conditions to flow to next node.First 3 are working fine 4th ends the flow where as it should go to next node

epaminond commented 6 years ago

That's not very helpful for reproducing an issue. Is there a chance that you could share sources?

epaminond commented 6 years ago

I think an issue here is in catchAll statement. Closing this for now. @vinayak99999 , feel free to leave more details here - I will reopen it if there's a chance I can reproduce it.