Two before business rules run on the change request table, both carrying an order value of 100. One derives a Risk value from a lookup, the other reads Risk to set the Assignment group. The second rule sometimes finds Risk empty and leaves the Assignment group blank. The Assignment group must be stored by the same write that saves the record. What corrects the behaviour?
- AGive the rule that derives Risk a lower order value than the rule that reads it, so the derivation runs first. Correct
- BChange the rule that reads Risk into an after business rule so that it runs once the record has been written.
- CChange the rule that derives Risk into a display business rule so that the value is set before the form is submitted.
- DMove the assignment group logic into an onChange client script on the Risk field so that it runs on the form.
Why A is correct: Correct because rules sharing a timing run in ascending order value, so lowering the derivation rule's order guarantees Risk is populated in memory before the second rule reads it in the same write.
Why B is wrong: Tempting because the Risk value would certainly be set by then, but an after rule would need a second write to store the Assignment group, which the requirement rules out.
Why C is wrong: Tempting because a display rule does run earlier than a before rule, but it runs at form load and would not fire for a record saved by an import or an integration.
Why D is wrong: Tempting because it reacts the moment Risk changes, but a server side before rule setting Risk does not fire an onChange event, and the script would not run outside the form at all.