
Hello,
I have a form in powerApps and when I submit the form it sends to my flow (Microsoft Flow ) the last form values (previous form that I submited) and not the current one, but the insertion of the form values in database inserts the current values.
This is the action in my submit button:
SubmitForm(EditForm1); StartApproval.Run(DataCardValue12.Text,DataCardValue13.Text,DataCardValue14.Text,DataCardValue15.Text,DataCardValue24.Selected.Value,DataCardValue22.Text,BrowseGallery1.Selected.CreatedOnDateTime,DataCardValue21.Text,DataCardValue10.Selected.Value,DataCardValue9.Text,DataCardValue16.Selected.Value,DataCardValue19.SelectedDate,DataCardValue11.Text,DataCardValue18.SelectedDate,DataCardValue17.SelectedDate,DataCardValue20.SelectedDate,DataCardValue23.Selected.Value,DataCardValue25.Text,BrowseGallery1.Selected.PrimaryId)
I apreciate your help.
Hi luismendez,
I am afraid that your scenario could not be achieved. The code you are using is getting the value from the datacards on the Edit form, when the button is clicked, both the two functions, SubmitForm and Flow will be triggered, then it will get the values you are entering into each data card and save the value to data source, so you will get current ones but not the previous ones.
Best regards,
Mabel Mao