I would like to trigger a flow from a powerapp form on button click.
I have 2 buttons on the form- 1. Save draft and 2. Submit. The idea behind Submit is to the let the 2nd person in chain to know request is completely filled and ready for processing.
1. Save draft button checks the required columns in the list and and if the conditions passes, it creates a list item.
2. Submit button runs a validation on the other fields of the form(This validation runs at teh form level). In order to be able to submit the request all all validations set on the form must pass.
I would like to send an email once the Submit is successful. I can't run it on item create since Save Draft already creates the item in the list.
Any ideas/suggestions are welcome.
Solved! Go to Solution.
Thank you for your suggestions, however I am not sure if I am following it completely.
I would like to fire this flow(1 step floe that sends email via outlook) at OnSuccess event of the button click. I do not see such event in the button properties. I am not sure why I need to get the response from flow to powerapps. May be I am not very clear on the objective of the expression that you've listed and where/how to use it.
Here is how tried doing it but it didn't work, I created a text column 'Status' and on ButtonSelect, I am setting the value of the field to "True", The plan is fire the flow is the Status="True", and this is the formula I am using to set the status field "Set(ApplicationStatus, "Submit")". This formula is not setting the column value as desired. I tried changing the datatype to boolean, choice, but to no avail. In theory it should have worked but it did not and I am not sure why.
Appreciate you looking into it.
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!