SNOW-CSA UI, Navigation and Forms • Complete Question Bank
Complete SNOW-CSA UI, Navigation and Forms question bank — all 0 questions with answers and detailed explanations.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Accessible across all applications in the instance
Isolated application with its own tables and access controls
System scope for core platform functionality
Custom applications developed by the instance owner
Pre-built applications available from ServiceNow Store
Drag a concept onto its matching description — or click a concept then click the description.
Displays data as vertical bars
Shows proportions of a whole
Trends over time with connected points
Tabular view of data
Compares performance against targets
// UI Policy Condition Script current.state == 1 && current.caller_id.isValid()
// Business Rule (before query)
current.assignment_group.setDisplayValue('Help Desk');// UI Policy Condition Script current.variables.state == 2
Refer to the exhibit.
UI Policy Record:
Table: incident
Condition: current.state == 2
Actions:
- Set 'assigned_to' mandatory: true
- Set 'assignment_group' visible: false
Conditions: On load, On update
Client Script (on change of state):
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (newValue == 2) {
g_form.setMandatory('assigned_to', true);
}
}Refer to the exhibit. sys_ui_section record for incident table: Section name: Assignment Information Number of columns: 2 Order: 20 sys_ui_form_section record: Form: Incidents Section: Assignment Information Position: 2 Dictionary Override for field 'assigned_to': Label: Assigned To Order: 1 Dictionary Override for field 'assignment_group': Label: Group Order: 2 Current form layout for section 'Assignment Information': Row 1: [assigned_to] [assignment_group]
(function() {
if (gs.hasRole('admin')) {
return true;
}
return false;
})()var gr = new GlideRecord('incident');
gr.addQuery('state', 3);
gr.addQuery('priority', '<=', 3);
gr.addNotNullQuery('assigned_to');
gr.query();
while(gr.next()){
gs.print(gr.getDisplayValue('number'));
}{
"name": "incident",
"elements": {
"short_description": {
"type": "string",
"max_length": 160
},
"caller_id": {
"type": "reference",
"reference": "sys_user"
}
}
}Refer to the exhibit.
```
// UI Policy Condition Script - Incident table
// This script runs onLoad
(function executeRule(current, previous !=null) {
if (current.state == 2) { // In Progress
g_form.setMandatory('short_description', true);
}
})();
```Refer to the exhibit.
```json
{
"sys_properties": [
{
"name": "glide.ui.button_shadow",
"value": "true",
"description": "Show shadow on buttons"
},
{
"name": "glide.ui.rich_text.listeditor",
"value": "false",
"description": "Disable list editor in rich text"
}
]
}
```UI Policy: "Make Category Mandatory"
Condition:
(function() {
var gr = new GlideRecord('sys_properties');
gr.addQuery('name', 'myapp.high_priority');
gr.query();
if (gr.next()) {
return gr.getValue('value') == 'true' && g_form.getValue('priority') == '3';
}
return false;
})();
Actions:
- Set mandatory: category = true