SNOW-CAD Automating application logic with business rules and scripts • Set 4
SNOW-CAD Automating application logic with business rules and scripts Practice Test 4 — 15 questions with explanations. Free, no signup.
A developer writes a before-update business rule on the Incident [incident] table that must copy a value from a custom field on the caller's User [sys_user] record into the incident. During testing, the value is written on the first update but subsequent updates leave the field empty. The script reads: `var gr = new GlideRecord('sys_user'); gr.get(current.caller_id); current.u_dept = gr.u_dept;` and the rule has no condition and no filter. Which change resolves the empty value while keeping the rule on the incident table?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.