SNOW-CSA Application Rules, ACL and Notifications Practice Question
A before business rule on the Change Request table is supposed to set the 'risk' field based on the 'impact' and 'urgency' fields. The rule uses the current.update() method. However, when the rule runs, it causes a recursive loop. What is the best solution?
⚠ Common exam trap
It's easy for candidates to think checking a condition or changing the timing (before vs. after) will stop recursion, but the root cause is the use of current.update() which always triggers a new database write and re-evaluation of business rules.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use current.setValue() instead of current.update().
Current.update() triggers the business rule again on the same record, causing a recursive loop. Using current.setValue() only modifies the field in memory without writing to the database, so it does not re-trigger the business rule. This is the standard pattern for avoiding recursion in before business rules when setting field values.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use current.setValue() instead of current.update().
Why this is correct
setValue() modifies the field without triggering another business rule.
- ✗
Use current.update() with a query to avoid recursion.
Why it's wrong here
current.update() always triggers the business rule on the same record.
- ✗
Add a condition to check if the risk field is already set.
Why it's wrong here
This prevents unnecessary updates but does not stop recursion if the field is not set.
- ✗
Set the business rule to run after instead of before.
Why it's wrong here
After update still triggers recursion if update() is called.
Go deeper
Related to this question
About these practice questions
This SNOW-CSA question is part of Courseiva's 504-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SNOW-CSA practice question is part of Courseiva's free ServiceNow certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SNOW-CSA exam.