I recently created a flow that connects to a Bot Framework bot via HTTP calls allowing the user to have a conversation. It's far from ideal having designed it as a proof of concept (and having fun) than anything else. The issue is that when I'm in the designer and test the flow, it works as expected. But, if I attempt to run the flow from the main list of flows, it runs doing a single pass (seemingly) thru each of the subflows, and then ends. The subflow that would display the bot's responses, pop's up the dialog box but the responses aren't captured. I can see, at the same time, that the bot is, in fact, responding.
Here's a quick description. The flow is comprised of a main flow and several subflows. Nothing happens in the main other than calling the subs. I have one sub that creates several variables (Create_Properties) and another that gets the token (Get_Token), both used elsewhere. The others either get the activities (Get_Activities) from the bot, generates the dialog (Generate_Dialog) to display the activities as readable messages (plus user input), or sends the user's response (Send_Activities).
Here's the "flow":
1. Main calls Create_Properties
2. Main calls Get_Token
2. Main calls Get_Activities
3. Get_Activities calls Generate_Dialog
4. Generate_Dialog calls Send_Activities
5. Send_Activities calls Get_Activities
(Repeat 3-5).
As I said, it works perfectly only when in the designer. Is this a case of the properties not being shared across the different flows when it's run stand-alone? Or, is something else going on? Any thoughts are appreciated.