web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow runs only as expe...
Power Automate
Unanswered

Flow runs only as expected when started from within the designer

(0) ShareShare
ReportReport
Posted on by

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.

I have the same question (0)
  • Zave Profile Picture
    88 on at

    Hello,

    I would suggest using a loop action instead of having Subflow 1 > Sublfow 2 > Subflow 3 > Subflow 1.

    My guess is that the flow crashes when run from the Console due to memory and probably crashes when run through the Designer, it's just faster when run through Console. 

  • Pavel_NaNoi Profile Picture
    1,074 on at

    usually if something works in the designer but not in the run console its just a case of the run console working too fast, if Zaves' suggestion doesn't work out try putting a bunch of 1 second wait action inbetween each subflow run. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 386

#2
Valantis Profile Picture

Valantis 342

#3
Haque Profile Picture

Haque 336

Last 30 days Overall leaderboard