cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JMan2021
Regular Visitor

Button to Synchronous Flow - Immediate Result

Some time ago I tried to create a app similar to a shopping cart remove function where the action immediately recalculate the total but couldn't figure out how. The only way I can think of creating a synchronous  power automate is by using the HTTP control but don't think there was a way to add an API value to a Canvas App button. Is there an easy way to call a Flow and have a call back to update the canvas app?

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @JMan2021 :

Do you want to call a Flow in a CanvasApp and get the return value of this Flow?

If so, several conditions need to be met:

1\The trigger of this Flow must be PowerApps.

1.JPG

2\There must be a specific Action to return data to PowerApps, usually I will use "Respond to a PowerApp or flow"

2.JPG

3\Insert this flow into a Canvas App

3.JPG

4\Call this flow and save its return value to a variable

4.JPG

44.gif

I think this link will help you a lot:

Start a flow in a canvas app 

Best Regards,

Bof

 

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @JMan2021 :

Do you want to call a Flow in a CanvasApp and get the return value of this Flow?

If so, several conditions need to be met:

1\The trigger of this Flow must be PowerApps.

1.JPG

2\There must be a specific Action to return data to PowerApps, usually I will use "Respond to a PowerApp or flow"

2.JPG

3\Insert this flow into a Canvas App

3.JPG

4\Call this flow and save its return value to a variable

4.JPG

44.gif

I think this link will help you a lot:

Start a flow in a canvas app 

Best Regards,

Bof

 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (15,144)