Notifications
Announcements
Hi
I want to instantly(when records added,modified,deleted) be able to recalculate a rollup field. I have found this article:
Solved: Modify Rollup field frequency to run every 30 mins - Power Platform Community (microsoft.com)
is says:
1. Create a workflow/power automate flow that will be triggered on create/update/delete of child record.
2. Call CalculateRollupField message to recalculate the rollup field. If you choose workflows you can use custom workflow activity from my Ultimate Workflow Toolkit pack - https://github.com/AndrewButenko/UltimateWorkflowToolkit
My question is how should i call CalculateRollupField message within the power automate?
Hi @jja,
This only way that I know is to call it via Power Automate if through the HTTP action to call the Dataverse' Web API. There are a few steps to get this going to setup the service principal to allow connection, authenticate then call the CalculateRollupField function.
Here's a good article explaining the steps: https://dynamicconsultantsgroup.com/blogs/dynamics-365-webapi-calls-and-flow/Hope this helps!
Hi @jja ,
Not specifically answer to your question but wanted to let you know that according to Microsoft the Power FX formula fields are coming soon to Dataverse, they are already available in Dataverse for Teams and can do these types of analytical functions in real time. https://powerapps.microsoft.com/it-it/blog/power-fx-coming-to-model-driven-power-apps-dataverse-and-more/
Hello @jja
You can use Plugins to recalculate immediately
Link for your Reference : https://pradipwebmaster.wordpress.com/2019/06/12/recalculate-rollup-field-using-plugin-in-dynamics-365/
Make sure the Message you register in preoperation.
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLAFollow me on Twitter : @rampprakashdBlog : https://microsoftcrmtechie.blogspot.com
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268