cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dosjots
Frequent Visitor

Business Rule Triggering

I have a business rule that sets the record status based on fields referencing date fields in the record.  Scope is set to entity. 

 

Based on my testing it seems that the business rule will only apply if the record loaded in a form.  In other words, if you're looking at all records in a view, have applied the rule, and refreshed the view the business rule will not be applied.  So it seems that the business rule is ONLY in the context of a form. 

 

I assume only rollup and calculated fields are updated automatically without direct record interaction?

 

2 REPLIES 2
SarahJ_ND
New Member

Hi!  -  Business rules are executed when a form loads, a record is saved, or the fields that are evaluated in the rule have changed.  If your scope on the rule is set to Entity, it should execute when the fields you are evaluating in the rule have changed. It appears those fields would be the date fields in your case.  If those fields are not being changed, the rules would not execute.

 

If you are looking to have an action occur when a certain date in a field is reached without the fields updating, you will want to look at using other forms of automation that would wait until the date occurs or other conditions exist.

 

You are correct that rollup fields and calculated fields have system jobs that update them on a regular basis.  I hope this helps.

To clarify, calculated fields do NOT have associated system jobs. The value of a calculated field is calculated when a record is requested either in a form, view or other methods. The value of a calculated is not stored in the database, only the formula.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (5,318)