web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating a Flow after ...
Power Apps
Unanswered

Creating a Flow after submit form in powerapps - submits last form values and not the new ones

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard