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 / Error when using Patch...
Power Apps
Answered

Error when using Patch and trying to run flow

(0) ShareShare
ReportReport
Posted on by 658

Hi,

 

I have a sign in app that uses multiple forms on different screens, I have created a flow which previously looked at the form.lastsubmit.id or the specific column name. There was an issue with this method on iOS devices where the form sometimes didn't submit. I then chose to create different screens and have multiple forms. However, the app is saying blank value is passed through text as the form.lastsubmit.title or .id is returning a blank value. I tested using the submit form function and this works fine in the flow but all the other day on the other screens is missing.

 

I would basically like to be able to tell the flow to pickup the information from multiple different forms on different screens?

 

Thanks in advance!

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @BS10 ,

     

    When using multiple forms, you need Patch function than SubmitForm. The syntax would be as follows and you can also save the result into a variable, pass it to your flow for later use:

    Set(varid, Patch(DataSource, Defaults(DataSource), Form1.Updates, Form2.Updates, Form3.Updates, Form4.Updates,...).ID);
    Flow.Run(varid)

     

    Best regards,

  • BS10 Profile Picture
    658 on at

    Thank you! Setting the variable worked perfectly. 

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard