cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Voltes
Resolver I
Resolver I

When actually business rule works?

Hello guys,

 

When actually Business Rule works ? I mean does it works when saving process only ? 

In some of the condition is when a field is contain data, does the business rule works when the this field lost focus ? Like when you mouse move to other field, the business rule already triggered ?

 

Sorry I am new to this.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Prakash4691
Solution Specialist
Solution Specialist

@Voltes ,

 

Business rule which triggers on onload of form or onchange of field. It really depends on condition you set.

 

The field which are referred in business rule must be present inside the form or else it will not trigger.

 

If you want to trigger your business rule on server side code change. Then you need to set scope to entity so that it will trigger on both client and server side.

 

Including reference link below,

https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-create-business-rule#co...

 

I hope it answers your question, kindly give kudo and accept it as solution.

 

 

Regards,

Prakash

View solution in original post

4 REPLIES 4
Prakash4691
Solution Specialist
Solution Specialist

@Voltes ,

 

Business rule which triggers on onload of form or onchange of field. It really depends on condition you set.

 

The field which are referred in business rule must be present inside the form or else it will not trigger.

 

If you want to trigger your business rule on server side code change. Then you need to set scope to entity so that it will trigger on both client and server side.

 

Including reference link below,

https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-create-business-rule#co...

 

I hope it answers your question, kindly give kudo and accept it as solution.

 

 

Regards,

Prakash

View solution in original post

rampprakash
Community Champion
Community Champion

Hi @Voltes,

 

Business processes will trigger based on the conditon which will perform.

 

For eg

 

 if your condition says if Field A contains data then on load the business rule will trigger and perform operation

 

Choice field with A and B

 

If it's B you want to perform an operation means on change it will trigger

 

So it's purley depend on the operation which we have mentioned in Business Rules

Unfair that Business Role scope does not refer to section, tab or form, it only can handle fields..

Prakash4691
Solution Specialist
Solution Specialist

@Yahya ,

Yes, but that is how it works as of now. To handle form, tab and section we can still use javascript.

 

I hope microsoft comes up with some solution using power fx to leverage low code for client scripting.

 

 

Regards,

Prakash

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,727)