A developer is troubleshooting a business rule in a scoped application that is not triggering. The rule is set to run 'before' query, with condition 'current.state == 1'. The table has read ACLs that restrict access. What is the most likely reason the business rule is not executing?
Trap 1: The condition 'current.state == 1' is incorrect syntax.
The syntax is valid for a before query business rule.
Trap 2: Another business rule with higher order is preventing execution.
Order only affects sequence, not whether a rule runs.
Trap 3: The business rule is scoped and cannot access the table.
Scoped business rules can access tables within the same scope.
- A
The condition 'current.state == 1' is incorrect syntax.
Why wrong: The syntax is valid for a before query business rule.
- B
Another business rule with higher order is preventing execution.
Why wrong: Order only affects sequence, not whether a rule runs.
- C
The user does not have read access to the records, so the query does not execute the rule.
Before query rules run only if the user can access the records.
- D
The business rule is scoped and cannot access the table.
Why wrong: Scoped business rules can access tables within the same scope.