SNOW-CAD Working with Data • Set 3
SNOW-CAD Working with Data Practice Test 3 — 15 questions with explanations. Free, no signup.
Refer to the exhibit. This script is placed in a business rule on the 'incident' table with the 'When to run' set to 'before' and 'Update' action. The incident table has an ACL that also prevents updates. The business rule runs and shows the error message but the record is still updated. What is the most likely cause?
if (!gr.isNewRecord()) {
gr.setAbortAction(true);
gs.addErrorMessage('Update not allowed');
}