SNOW-CSA Service Catalog and Workflows Practice Question
Exhibit
Catalog Item: VPN Access Request
Variable: u_vpn_type (choice: 'Full Tunnel', 'Split Tunnel')
Catalog Client Script: onChange
Script:
function onChange(control, oldValue, newValue, isLoading) {
if (newValue == 'Full Tunnel') {
g_form.showFieldMsg('u_justification', 'Requires manager approval', 'info');
}
}
Workflow: VPN Approval Workflow
- If u_vpn_type == 'Full Tunnel', then Approval (Manager)
- else, Auto-approveRefer to the exhibit. A user selects 'Full Tunnel' and sees the info message, but the request is auto-approved. What is the most likely cause?
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
✓
The workflow condition uses the variable value from the request, which may be set to 'Split Tunnel' due to a default.
The most likely cause is option D: The workflow condition uses the variable value from the request, which may be set to 'Split Tunnel' due to a default. When a catalog item variable has a default value, that default is used in the workflow condition if the user's selection is not properly captured or if the condition is evaluated before the variable is updated. In this case, even though the user selects 'Full Tunnel', the workflow condition might be checking the initial default value of 'Split Tunnel', causing the condition to fail and leading to auto-approval. Option A is unlikely because client scripts typically run on load and can set values, but they would not normally override the workflow condition after submission. Option B is incorrect because workflow conditions are evaluated at submission time, after the user selects the variable. Option C is irrelevant because workflow conditions in ServiceNow do not use JavaScript equality operators like '==='.
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.