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.
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 -
Expected behavior
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.
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.
Flow for BMI -
Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.