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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Odd behavior on plug-i...
Power Apps
Unanswered

Odd behavior on plug-in registered on step for UPDATE message

(0) ShareShare
ReportReport
Posted on by

Hi All:

 

I have a plug-in developed that calls the calculaterollupfield API function to force rollup field recalculation.  The plug-in actually executes on CREATE, DELETE and UPDATE messages but the update portion does not produce a recalculated rollup field unless I am profiling that particular step via the Plug-in Registration Tool.  There are no exceptions in the trace table, and I've debugged through the code and it's operating without issue; the plugin functions as expected on CREATE and DELETE but not UPDATE; very odd.  It seems like the API function runs but the data in the child table has not been updated when it runs so the rolled-up value on the parent record doesn't change.  If I call the same API function via an HTTP request from my browser like 30 seconds after the Power App saves the updated data, the rolled-up value is correct.  The plugin uses a post image and executes post operation, I've tried it every way that's configurable and no joy.  As I stated it seems like a timing thing, but I am at a loss for how to remedy the situation.  Does anyone have experience with this?  Looking for advice.

I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 802 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 273

Last 30 days Overall leaderboard