cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Change in PowerApps variable cannot trigger MS Flow

Hi,

 

Please I need your help, I'm now creating a PowerApp and MS Flow,

 

I have an app like this, when "Save" button is clicked", will trigger "Set(HaveNewConv,true);SubmitForm(Form1)", then HaveNewConv will change to "true".

Then I have a flow trigger: "When an existing item is modified", if HaveNewConv=true, an email will be sent.

powerapps_sr.jpg

The problem is, even HaveNewConv is true, the flow is not triggered.

 

Hope anyone can help me with this or hopefully there is a way to be done. Thanks in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Change in PowerApps variable cannot trigger MS Flow

Hi @leungar2 ,

 

The formula to trigger the flow from PowerApps should be:

If(HaveNewConv=true,FlowInApp.Run(xxx),false)

But in this flow, the trigger should be "Ask in PowerApps", not "When an existing item is modified".

 

More information about start a flow in app, please refer to:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Change in PowerApps variable cannot trigger MS Flow

Hi @leungar2 ,

 

The formula to trigger the flow from PowerApps should be:

If(HaveNewConv=true,FlowInApp.Run(xxx),false)

But in this flow, the trigger should be "Ask in PowerApps", not "When an existing item is modified".

 

More information about start a flow in app, please refer to:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,129)