cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Initiating a Business Rule (or Flow) in a Model Driven App using a Button?

I am exploring whether I can initiate a business rule (or a Power Automate flow) from a Model Driven App using a button in a form.  

If I think about how the Sales Pipeline process works in Dynamics CRM (or Sales Hub which was the particular trial I reviewed) then there is an Entity called 'Leads' which has fields for both Contact Name and Account Name.  If I click on the 'Qualify' button on the toolbar, then I am guessing there is a Business Rule that runs in the background which posts the Account Name and/or the Contact Name to their respective tables.

 

That is very useful functionality to know how to use in my own Model Driven App.  Can someone point me at a resource to see how that could be done?  When I go into form design in MDA's there doesn't seem to be any facility to add a button to a form that could drive an 'on-click' event to run the Business Rule (or Process) .  There certainly doesn't seem to be any way at all of configuring a tool bar.

 

I have reviewed the Business Rules documentation and the conditions seem to run off a field being updated, rather than any other kind of event.  

 

Can anyone help?

 

Gerald 

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Initiating a Business Rule (or Flow) in a Model Driven App using a Button?

Hi @ghdunn ,

Do you want to trigger a flow in a model-driven app?

You could set like this:

 
Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper V
Helper V

Re: Initiating a Business Rule (or Flow) in a Model Driven App using a Button?

@v-yutliu-msft 

 

Hi there Pheoebe Liu.  Did your reply get cut off?  I dont see anything after 

 

"You could set like this:"

 

Thanks 

 

Gerald

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,073)