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 / Patch Statement not Pa...
Power Apps
Unanswered

Patch Statement not Patching Collection

(0) ShareShare
ReportReport
Posted on by
Hello, 
I am creating a powerapp that my team can use to manage security roles for users in each of our environments in one place.  At this point everything works except for updating the collection that stores user information and their security roles.  The collection called users is created in the OnStart property and uses power automate flows to pull the data on the users from dataverse.  The format for the a record in users is as follows businessUnit: text, guid: text, name: text, and roles which stores a collection of security roles.   When a change is made to the roles a user has, I have another flow that will get the updated information from dataverse and store it in a collection called userRoles.  This is where I am having an issue, according to monitor the updated data is being brought back into the app and it is stored in the userRoles collection but when I try to patch the original users collection the data for the roles is not updated.  I am relatively new to powerapps but should I be using something other than patch to do this or could there be another reason this is happening.  
Thanks
Categories:
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    Show the Patch statement that you are using and the collections.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard