Which one of the following is true?
Answer(s): A
Created UI policy on incident form, action set's cmdb_ci field as mandatory and script as not. result, field was not mandatory.A UI Policy's Actions execute before the UI Policy's Scripts. Actions are predefined operations that can be applied to fields or sections, such as making them mandatory, read-only, visible, or setting a default value. Scripts are custom JavaScript code that can be used to perform more complex logic or validations. Actions are executed first, and then Scripts are executed if the UI Policy conditions are met.
[ServiceNow Docs - UI policy actions], [ServiceNow Docs - UI policy scripts]
Here is the Business Rule script template:This type of JavaScript function is known as:
Answer(s): D
Self-invoking. Learn JavaScript!This type of JavaScript function is known as self-invoking or immediately-invoked function expression (IIFE). It is a function that is defined and executed at the same time, without being assigned to a variable or being called by another function. It is often used to create a local scope for variables and avoid polluting the global namespace.
[W3Schools - JavaScript Function Definitions], [MDN Web Docs - Immediately-invoked function expressions]
Which method call returns true only if the currently logged in user has the catalog_admin role and in no other case?
Answer(s): B
The method call that returns true only if the currently logged in user has the catalog_admin role and in no other case is g_user.hasRoleExactly(`catalog_admin'). This method checks if the user has exactly one role, and returns true if it matches the argument. The other methods return true if the user has one or more roles, or if the user has any role from a list of arguments.
[ServiceNow Docs - GlideUser API], [ServiceNow Community - Difference between hasRole() and hasRoleExactly()]https://community.servicenow.com/community? id=community_QUESTION NO :&sys_id=dff705e6db7757c0d58ea345ca96196b
There is a basic strategy when creating a Utils Script Include. Identify the step that does not belong.
The step that does not belong when creating a Utils Script Include is identifying the table. A Script Include is a server-side script that can contain one or more classes or functions that can be reused by other scripts. It does not depend on a specific table, but can access any table through GlideRecord or other APIs. The other steps are part of creating a Script Include class and its prototype object.
[ServiceNow Docs - Script Includes], [ServiceNow Docs - GlideRecord API]
Which roles grant access to source control repository operations such as importing applications from source control, or linking an application to source control? (Choose two.)
Answer(s): A,C
The following roles grant access to source control repository operations such as importing applications from source control, or linking an application to source control:source_control. This is a role that allows users to perform basic source control operations, such as importing an application from a source control repository, updating an application from a source control repository, or committing changes to a source control repository.admin. This is a role that grants full access to all the features and functions of the ServiceNow platform, including source control operations. Users with this role can also perform advanced source control operations, such as creating or deleting source control repositories, configuring source control properties, or resolving conflicts.The following roles do not grant access to source control repository operations:source_control_admin. This is not a valid role in ServiceNow. There is no separate role for source control administration, as this function is included in the admin role. git_admin. This is not a valid role in ServiceNow. Git is a specific type of source control system that ServiceNow supports, but there is no role dedicated to Git administration.
Source Control, Source Control Roleshttps://docs.servicenow.com/bundle/orlando-application- development/page/build/applications/task/ t_LinkAnApplicationToSourceControl.html
When configuring the content of an Email Notification, which syntax should be used to reference the properties of an event triggering the Notification?
https://www.servicenow.com/community/it-service-management-forum/email-notification/m- p/695221
https://community.servicenow.com/community? id=community_QUESTION NO :&sys_id=e017cbe5db1cdbc01dcaf3231f9619a3When configuring the content of an Email Notification, the following syntax should be used to reference the properties of an event triggering the Notification:event.<propertyname>.Thisisthecorrectsyntaxtoaccessthepropertiesoftheeventrecordthattriggeredth eEmailNotification,suchasevent.name,event.parm1,orevent.parm2.Forexample,{event.parm1} will display the value of the first parameter of the event.The following syntaxes are not correct for referencing the properties of an event triggering the Notification:current.<propertyname>.Thisisthesyntaxtoaccessthepropertiesofthecurrentrecordthatisassociatedwi ththeevent,suchascurrent.number,current.shortd escription,orcurrent.state.Forexample,{current.shor t_description} will display the short description of the current record. ${property name>.getDisplayValue()}. This is the syntax to access the display value of a property of the current record, such as current.state.getDisplayValue(), current.assigned_to.getDisplayValue(), or current.category.getDisplayValue(). For example, current.state.getDisplayValue() will display the state of the current record in a human-readable format, such as New, In Progress, or Closed. ${gs.<property name>}. This is the syntax to access the properties of the GlideSystem (gs) object, which provides methods for performing system operations, such as gs.now(), gs.getUserID(), or gs.getProperty(). For example, gs.now() will display the current date and time of the system.Email Notifications, Email Notification Variables
Which one of the following is true for a Script Include with a Protection Policy value of Protected?
https://docs.servicenow.com/bundle/rome-application-development/page/build/applications/concept/c_ScriptProtectionPolicy.htmlThe following is true for a Script Include with a Protection Policy value of Protected:The Protection Policy is applied only if the application is downloaded from the ServiceNow App Store. This is true because the Protection Policy is a feature that allows developers to protect their Script Includes from being viewed or modified by other users when they distribute their applications through the ServiceNow App Store. The Protection Policy is only enforced when the application is installed from the App Store, not when it is developed or tested on the instance. The following are not true for a Script Include with a Protection Policy value of Protected:Any user with the protected_edit role can see and edit the Script Include. This is false because the protected_edit role is not related to the Protection Policy, but to the Access Control (ACL) rules. The protected_edit role allows users to edit protected fields on a table, such as the script field on the sys_script table, which stores the Business Rules. The Protection Policy does not use roles to control access to the Script Includes, but a cryptographic key that is generated when the application is published to the App Store.The Protection policy option can only be enabled by a user with the admin role. This is false because the Protection policy option can be enabled by any user who has the application_admin role for the scoped application that contains the Script Include. The application_admin role grants full access to the application development and administration within the scope of the application. The Protection Policy is applied only if the glide.app.apply_protection system property value is true. This is false because the glide.app.apply_protection system property is not related to the Protection Policy, but to the Application Restricted Caller Access (ARCA) feature. The ARCA feature allows developers to restrict the access to the Script Includes from other applications based on the caller's scope. The glide.app.apply_protection system property determines whether the ARCA feature is enabled or disabled on the instance.
Script Includes, Protect Script Includes, Application Restricted Caller Access
Which one of the following is true for GlideUser (g_user) methods?
Answer(s): C
The following is true for GlideUser (g_user) methods:Can be used in Client Scripts, UI Policies, and UI Actions. This is true because GlideUser (g_user) methods are part of the client-side scripting APIs that provide information about the current user and the user's preferences. Client Scripts, UI Policies, and UI Actions are all types of client-side scripts that run in the web browser and manipulate the user interface. The following are not true for GlideUser (g_user) methods:Can be used in Client Scripts and UI Policies only. This is false because GlideUser (g_user) methods can also be used in UI Actions, which are another type of client-side scripts that can be triggered by a user's click on a button, link, or choice.Can be used in Business Rules only. This is false because GlideUser (g_user) methods cannot be used in Business Rules, which are server-side scripts that run on the ServiceNow platform and manipulate the database. Business Rules use a different API to access the current user information, which is GlideSystem (gs).Can be used in Business Rules, and Scripts Includes. This is false because GlideUser (g_user) methods cannot be used in Business Rules or Script Includes, which are both server-side scripts. Script Includes are reusable units of code that can be called from any server-side script. Script Includes also use GlideSystem (gs) to access the current user information.
Client-Side Scripting APIs, GlideUser, Business Rules, Script Includeshttps://developer.servicenow.com/dev.do#!/reference/api/newyork/client/c_GlideUserAPI
Share your comments for ServiceNow CAD exam with other users:
very explainable
i think answer of q 462 is variance analysis
hi i need see questions
best study material for exam
very interesting repository
american history 1
good level of questions
i need this dump kindly upload it
do we need c# coding to be az204 certified
excellent topics covered
are these really financial cloud questions and answers, seems these are basic admin question and answers
are these comments real
please upload the latest dumps
a company runs its workloads on premises. the company wants to forecast the cost of running a large application on aws. which aws service or tool can the company use to obtain this information? pricing calculator ... the aws pricing calculator is primarily used for estimating future costs
looks interesting
thanks! that’s amazing
the exam dumps are helping me get a solid foundation on the practical techniques and practices needed to be successful in the auditing world.
q 14 should be dmz sever1 and notepad.exe why does note pad have a 443 connection
question # 108, correct answers are business growth and risk reduction.
are these valid chfi questions
question: 162 should be dlp (b)
good exam questions
I have to say this is really close to real exam. Passed my exam with this.
good analytics question
this looks accurate
question 46, the answer should be data "virtualization" (not visualization).
its useful.
Pass this exam 3 days ago. The PDF version and the Xengine App is quite useful.
informative for me.
question 134s answer shoule be "dlp"
in 72 the answer must be [sys_user_has_role] table.
i appreciated the mix of multiple-choice and short answer questions. i passed my exam this morning.
great to find this website, thanks
examination questions seem to be relevant.