Notifications
Announcements
I have one requirement to call JavaScript when we click on the next stage button in the business process flow in model-driven apps
See if this helps:
https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/walkthrough-write-your-first-client-script?tabs=unified-interface%2Cunified-add-web-resource
If you need additional help please tag me in your reply and please like my reply.If my reply provided you with a solution, pleased mark it as a solution ✔️!Best regards,Gonçalo NogueiraCheck my LinkedIn!My website!My blog!
If you are familiar with using Javascript in your Model Driven Apps then I would check out this link:OnStageChange Event (Client API reference) in model-driven apps - Power Apps | Microsoft Learn
This runs when you change stage forwards or backwards.
You might need to check out this as well:addOnStageChange (Client API reference) in model-driven apps - Power Apps | Microsoft Learn
Let me know if this is what you were looking for.
@AJ_Z I have tried with addOnStageChange event its working while stage changing only, but my requirement is to call web resource when click the next stage button of the business process
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 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268