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 / Call some javascript w...
Power Apps
Unanswered

Call some javascript when click next stage button of business process

(0) ShareShare
ReportReport
Posted on by 24

I have one requirement to call  JavaScript when we click on the next stage button in the business process flow in model-driven apps 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    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 Nogueira

    Check my LinkedIn!

    My website!

    My blog!

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    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. 

  • satheesh k Profile Picture
    24 on at

    @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.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard