Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
Trigger power automate flow with Business Process Flow Next Stage button

I have a model driven app with business process flow (BPF) activated. For each stage of BPF, there is a Next Stage button at the bottom. I want to use the Next Stage button as a trigger to run a power automate flow in which after the Next Stage button of that particular stage is clicked, an email will be sent out. Can this be done by using JS? If yes, can anyone please share with me the JS code? Thanks.

Sample Image

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Create a Power Automate flow with trigger of type when an HTTP request is received.

The generated URL is where your JavaScript can send a request to.

You can also use the when a record is modified, this automatically detects changes like adding to an empty field, therefor you know what stage was filled in.

Many options, many ways to implement this.

about 4 years ago · Juan Pablo Isaza Report

0

Design

A table / entity is created for each Business Process Flow you create. Also, a record is created in a Business Process Flow table / entity every time a BPF instance is created.

Therefore, it is quite easy to add logic when a record changes in a Business process flow table.

What do to

  • Create a Power Automate that triggers when a record is modified in the table associated to your Business Process Flow (it is named after the BPF name).
  • Use the activestageid to figure the current stage (you'll have to query the stage from the processstage table)
  • Implement any logic you want in your Flow (send the email in your case).
  • If your logic is based on values from the main record you can easily retrieve that record's id from the business process flow record
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!