Closed HugzBatman19 closed 2 years ago
Investigating this.
Hi @HugzBatman19
I created a sample composer project with the basic given requirements mentioned above.
Here is the link to the repo: https://github.com/ramfattah/SmoothieBot
(clone this repo and open the .sln
in composer)
This is the bot output:
Also, the Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repos are the preferred platform for submitting bug fixes and feature requests.
To whom it may concern,
I recently posted some issues I had building a Smoothie Constructor through Bot Framework Composer. I have taken all advice and implemented is as follows. However, it does not produce the required result. I can send through the file if somebody would like to test it on their end (if that is allowed). Essentially, the bot asks the user what fruit they would like in the smoothie. The answers are stored in an array (dialog.answers). A branch switch then decides that if the array has certain answers e.g Apple, Pear, then it will spit out a value e.g ApplePear, in which the bot will send a reply. I previously attempted to use a user array so that I could have the SmoothieConstruction for collecting the answers, and then a separate dialogue - perhaps called SmoothieAnswer that would provide those answers so that I could have one dialogue for questions, and one dialogue to deal with Answers, and the properties would survive since they were user properties.