ServiceNow CAD Test 1 Flashcards
You can repurpose existing fields by simply changing the label.
Existing logic from the parent table will be automatically applied to the new table
Use existing fields with no modifications
Display a list of all records from the table
Transform Map
Use ng-if
ng-show (and its sibling ng-hide) toggle the appearance of the element by adding the CSS display: none style.
ng-if, on the other hand actually removes the element from the DOM when the condition is false and only adds the element back once the condition turns true.
The best practice is to use ng-if because ng-show spends more time
Assessment, List of Records, Separator, Timeline Page
A weight value of zero means that no notification should be sent
Consumer (client)
Form choice
Create Branch
Users with the module role but without access to the application menu access the module
The URI of the data to be accessed, queried, or modified
Spoke
The functionality within an application menu such as opening a page in the content frame or a separate tab or window
(This needs to be confirmed)
gs.hasRole() and current.isNewRecord()
Script Includes
Set the Accessible from field value to This application scope only
Requires “as-is” use of low-level programming libraries
gs.print(“Hello World”);
table.id will grant access to a specific record on the table
event, email, current
previous
gs.log
Open the table in the Table records and select the Add to Service Catalog Related Link
Can be scheduled to be run and distributed by email
Can be a graphical representation of data
Can be run on demand by authorized users
Examine the Application Files Related List in the application to be published
You must script and configure all required behaviors
Table
Out of scope applications can create Business Rules for the table
Provide a way of tracking the user who developed an application
To add a field to the form layout, drag the field from the Fields tab to the desired destination on the form.
To remove a field from the form layout, hover over the field to enable the Action buttons, and select the Delete (x) button.
To create a new field on a form’s table, drag the appropriate data type from the Field Types tab to the form and then configure the new field type.
Choose 2 options
Flow Designer
Automated Test Framework
GlideSystem and GlideRecord
Can create, Can update, and Can delete
g_user.hasRoleExactly(‘catalog_admin’)
A UI Policy’s Actions execute before the UI Policy’s Scripts
Can be used in Client Scripts, UI Policies, and UI Actions
There is no such limit. You can have one suite with many test cases.
Business problem, data input/output, users/stakeholders, and process steps
Extend and add functionality
child table
Catalog Client Scripts and Catalog UI Policies
What content will be in the notification
Who will receive the notification
When to send the notification
table, field
(Confirm acl order of operation)
Outbound Email
g_form.addInfoMessage()
gs.hasRole(‘admin’)
All application scopes can read from the table
Bar Chart and Pie Chart
Self-invoking
The Protection Policy is applied only if the application is downloaded from the ServiceNowApp Store
Explanation
None: Allows anyone to read and edit this downloaded or installed script include.
Read-only: Allows anyone to read values from this downloaded or installed script include. No one can change script values on the instance on which they download or install it.
Protected: Provides intellectual property protection for application developers. Customers who download the script include cannot see the contents of the script field. The script is encrypted in memory to prevent unauthorized users from seeing it in plain text.
Admin
gs.log()
Scoped GlideSystem logging methods are available for scripts in private application scopes.
debug() - sets the log Level to “Debug”. Use to log informational mesages useful for debugging.
error() - sets the log Level to “Error”. Use to log messages that might stil allow the system to continue running.
info() - sets the log Level to “Information”. Use to log informational messages describing progress.
warn() - sets the log Level to “Warning”. Use to log potentially harmful messages.
isDebugging() - determines if debugging is active for a specific scope.
Navigate to System Logs > System Log > All to locate gs.error(), gs.warn() and gs.info() output. These messages along with messages from gs.debug() are also located at the bottow of a form when System Debugging is turned on.
Stash
producer.variablename
As many as the application design requires
Create sample code for sending REST requests to ServiceNow
Application name
Identify the table
GlideUser object(g_user)
Applications downloaded from 3rd party ServiceNow application developers cannot have naming conflicts
Test a flow with rollback