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 / Power Apps sending old...
Power Apps
Answered

Power Apps sending old data to flow

(0) ShareShare
ReportReport
Posted on by 248

Hello.  

 

I built a power app that collects data on form and creates html.  When the user clicks submit, it kicks off an approval flow and converts the HTML to a pdf.  The flow works fine but I have noticed that it keeps sending the old data when i create a new item in the sharepoint list.  Not the new data that has been inputted.   I tried resetting the form when its first opened but it doesnt work.   I feel like its something simple but I cant seen to figure it out.  This is the formula im using to send the data (if its helpful):

 

Set(varBAHHeader1, JSON(BAHHeader1, IncludeBinaryData));
Set(varBAHHeader2, JSON(BAHHeader2, IncludeBinaryData));
SubmitForm(SharePointForm1);Navigate(Screen1,Fade); Test.Run(HtmlText1.HtmlText,Concatenate(DataCardValue3.Selected.DisplayName,Label4.Text),DataCardValue15.Text, DataCardValue3.Selected.DisplayName,DataCardValue11.Selected.DisplayName, DataCardValue5.Selected.DisplayName, DataCardValue12.Selected.DisplayName, DataCardValue13.Selected.DisplayName,DataCardValue6.Text,DataCardValue7.Text, DataCardValue8.Selected.Value,DataCardValue2.Selected.Value)

Categories:
I have the same question (0)
  • Verified answer
    SebS Profile Picture
    4,746 Super User 2026 Season 1 on at

    @Misa 

     

    I'm not sure, but it looks like the issue is the order. You submitted the form before the flow. It's just a guess.

     

    try putting SubmitForm at end and see if it works

     

     

    Set(varBAHHeader1, JSON(BAHHeader1, IncludeBinaryData));
    Set(varBAHHeader2, JSON(BAHHeader2, IncludeBinaryData));
    Test.Run(HtmlText1.HtmlText,Concatenate(DataCardValue3.Selected.DisplayName,Label4.Text),DataCardValue15.Text, DataCardValue3.Selected.DisplayName,DataCardValue11.Selected.DisplayName, DataCardValue5.Selected.DisplayName, DataCardValue12.Selected.DisplayName, DataCardValue13.Selected.DisplayName,DataCardValue6.Text,DataCardValue7.Text, DataCardValue8.Selected.Value,DataCardValue2.Selected.Value);
    SubmitForm(SharePointForm1);Navigate(Screen1,Fade); 

     

     

     

     

     

     

  • Misa Profile Picture
    248 on at

    Thank you very much @SebS. I moved the to the end of the formula and it worked!  Wouldve nvr guessed it.  Thank you again for your help!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard