Copilot - CAD Flashcards

(73 cards)

1
Q

What defines the boundaries of a custom app in ServiceNow?

A

A: Application Scope

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q: What tool helps you create tables, fields, and relationships visually?

A

A: Table Builder
App Engine > Table Builder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What API lets you manipulate form fields on the client side?

A

g_form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s the purpose of a UI Policy?

A

Dynamically control form behavior without scripting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What API is used to query and manipulate records on the server?

A

GlideRecord

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the difference between Business Rules and Script Includes?

A

Business Rules run on record events; Script Includes are reusable server-side functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What tool replaces Workflow Editor for low-code automation?

A

Flow Designer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What triggers a Flow?

A

Record changes, schedules, or events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What tool is used to move app components between instances?

A
  • Update Sets and
  • Application Repository
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What tool helps debug server-side scripts?

A

Script Debugger

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

GlideRecord Methods — “QIIUD”

A

Query → query()
Insert → insert()
Initialize → initialize()
Update → update()
Delete → deleteRecord()

Quick Insert Important Updates Daily

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Flow Designer Components — “TAA”

A

Trigger
Actions
Annotations

Trigger Actions Automatically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

ACL Evaluation Order — “ROF”

A

Role
Operation
Field

Real Order First

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What’s the purpose of the Application Scope?

A

To isolate and protect application components from other apps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What tool helps define relationships between tables?

A

Schema Map

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What’s the difference between a table and a database view?

A

Tables store data; views combine data from multiple tables for reporting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What’s the default table every custom app starts with?

A

x_<scope>_<app_name></app_name></scope>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What’s the purpose of a Record Producer?

A

To create records via a user-friendly interface in the Service Catalog.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What’s the difference between a module and an application menu?

A

Menus group modules; modules link to functionality like lists or forms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What’s the role of the App Engine Studio?

A

Low-code environment for building apps with guided templates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What’s the difference between scoped and global apps?

A

Scoped apps are sandboxed; global apps can access all platform resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What’s the purpose of the Application Registry?

A

To register OAuth credentials for external integrations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What’s the use of the Application File?

A

It stores metadata about app components for packaging and deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What’s the purpose of g_user?

A

Access user session details on the client side.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What’s the difference between UI Policy and Client Script?
UI Policies are declarative; Client Scripts use JavaScript logic.
26
What type of Client Script runs when a form loads?
onLoad
27
What’s the use of g_form.setDisplay()?
Show or hide a field on the form.
28
What’s the use of g_form.setMandatory()?
Make a field required dynamically.
29
What’s the use of g_form.setReadOnly()?
Make a field read-only dynamically.
30
What’s the difference between UI Action and UI Policy?
UI Actions add buttons/links; UI Policies control field behavior.
31
What’s the purpose of a Catalog Client Script?
Run logic on Service Catalog items.
32
What’s the use of g_form.getValue()?
Retrieve the current value of a field.
33
What’s the use of g_form.setValue()?
Set a field’s value dynamically.
34
What’s the use of GlideSystem.log()?
Log messages to the system log.
35
What’s the difference between current and previous in Business Rules?
current is the updated record; previous is the original.
35
What’s the use of GlideRecord.get()?
Retrieve a single record by sys_id.
36
What’s the use of GlideRecord.addQuery()?
Add a filter condition to a query.
37
What’s the use of GlideRecord.next()?
Iterate through query results.
38
What’s the use of GlideRecord.setValue()?
Set a field’s value before insert/update.
39
What’s the use of Script Include?
Define reusable server-side logic.
39
What’s the difference between synchronous and asynchronous Business Rules?
Synchronous runs immediately; asynchronous runs in the background.
40
What’s the use of gs.getUserID()?
Get the current user’s sys_id.
41
What’s the use of gs.getProperty()?
Retrieve a system property value.
42
What’s the difference between Flow Designer and Workflow Editor?
Flow Designer is low-code; Workflow Editor is legacy and script-heavy.
43
What’s the use of a Flow Trigger?
Define when a flow should start.
44
What’s the use of a Flow Action?
Define what the flow does (e.g., create record, send email).
45
What’s the use of a Flow Condition?
Control flow logic based on field values.
46
What’s the use of a Subflow?
Reusable flow logic that can be called from other flows.
47
What’s the use of Events?
Trigger background logic asynchronously.
48
What’s the use of Notification?
Send messages based on record changes or events.
49
What’s the use of Scheduled Jobs?
Run scripts or flows at defined intervals.
50
What’s the use of Script Action?
Run server-side logic when an event is fired.
51
What’s the use of Inbound Email Action?
Process incoming emails and trigger logic.
52
What’s the use of a Role?
Grant access to platform features and data.
53
What’s the use of an ACL?
Control access to records and fields.
54
What’s the use of gs.hasRole()?
Check if the current user has a specific role.
55
What’s the use of gs.getUser()?
Get the current user object.
56
What’s the use of gs.getUserName()?
Get the current user’s username.
57
What’s the use of gs.getUserRoles()?
Get all roles assigned to the current user.
58
What’s the use of gs.hasRoleExactly()?
Check if the user has only the specified role.
59
What’s the use of gs.isInteractive()?
Check if the script is running in a user session.
60
What’s the use of gs.getSession()?
Access session-specific data.
61
What’s the use of Scoped Script Security?
Prevent unauthorized access to scoped app components.
62
What’s the use of Update Sets?
Package and move customizations between instances.
63
What’s the use of the Studio Source Control?
Integrate with Git for versioning.
64
What’s the use of the Application Repository?
Publish scoped apps for reuse or distribution.
65
What’s the use of the System Logs?
View errors, warnings, and debug messages.
66
What’s the use of the Script Debugger?
Step through server-side scripts during execution.
67
What’s the use of the Performance Analytics?
Monitor app performance and KPIs.
68
What’s the use of the Instance Scan?
Identify configuration issues and security risks.
69
What’s the use of the Application Picker?
Switch between app scopes during development.
70
What’s the use of the Dependency Viewer?
Visualize relationships between app components.
71