v12 icon indicating copy to clipboard operation
v12 copied to clipboard

Slot tagging not working on user input for BMI calculation

Open pradeepkhtc opened this issue 2 years ago • 1 comments

Describe the bug I doing the BMI bot , I faced an issue when adding the slot tagging of height . i.e , user types , my height is 5.5 ft , but its captured the data in slots and asking the height units. Please not 5.5 is a height value and ft is a height unit.

  1. See error TypeError: Cannot read property 'height_unit' of undefined at eval (eval at runCode (C:\snapshot\botpress\packages\bp\dist\core\dialog\instruction\strategy.js), :3:27) at TransitionStrategy.runCode (C:\snapshot\botpress\packages\bp\dist\core\dialog\instruction\strategy.js) at TransitionStrategy.processInstruction (C:\snapshot\botpress\packages\bp\dist\core\dialog\instruction\strategy.js) at InstructionProcessor.process (C:\snapshot\botpress\packages\bp\dist\core\dialog\instruction\processor.js)

Flow for BMI - image

Expected behavior image

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS, macOS, Windows]
  • Browser [e.g. Chrome, Safari]
  • Browser Version [e.g. 83.0.4103.97]
  • Botpress Version [e.g. 12.10.0]
  • NodeJS [e.g. 12.13]

Additional context Add any other context about the problem here.

pradeepkhtc avatar Sep 28 '22 09:09 pradeepkhtc

hi, did you manage to solve the problem ?

damiendidi avatar Oct 06 '22 17:10 damiendidi