
I have a standard intake using PowerApps which has several different statuses. When each status changes, an email gets sent out.
One thing I'm trying to figure out is the best way to make sure the emails are only sent ONCE per status change.
In the old Designer world, I had an extra field in the form that would collect the "Initital Status" and then compare once the form was submitted.. If the Initial Status, and the Status field remained the same, it would cancel the workflow. If the status changed, it would kick off the email.
I thought of trying to use the new "variable" feature in Flow, but I couldn't add any dynamic content from the form to collect.. so this seems to be the wrong direction?
Should I be using the "Collection" feature within the app to collect the values and compare?
Anyone figure out a better method?
Hi @drewski,
Could you please share a screenshot of your PowerApps app's configuration?
Do you want to pass parameters from your PowerApps app to your Microsoft Flow?
Do you want to store the Status value from your PowerApps app within your flow?
Further, could you please share more details about your scenario?
If you want to pass parameters from your PowerApps app to your flow, please check the following article:
If you want to initialize an variable to store the Status value (old Status value) from your PowerApps app within your flow and then compare it with the new Status value passed from your PowerApps app, I afraid that there is no way to achieve your needs in Microsoft Flow currently.
You could consider take a try to store the Status value within a SharePoint list. When a new Status value is passed from your PowerApps app into your flow, get the last inserted Status value within your SharePoint list, then compare the last inserted value in your SharePoint list with the new Status value passed from your PowerApps app, if they are the same, do nothing, if not, send the email notification.
Best regards,
Kris