In a Business Rule, which one of the following returns true if the currently logged in user has the admin role?
In a Business Rule, which one of the following returns true if the currently logged in user has the admin role?A . g_form.hasRoleExactly(‘admin’)B . gs.hasRole(‘admin’)C . g_form.hasRole(‘admin’)D . gs.hasRoleExactly(‘admin’)View AnswerAnswer: B Explanation: Business Rule is server-side, so it uses GlideSystem API. gs.hasRoleExactly doesn't exist In a Business Rule, the following...
Here is the Business Rule script template:
Here is the Business Rule script template: This type of JavaScript function is known as:A . ConstructorB . ScopedC . AnonymousD . Self-invokingView AnswerAnswer: D Explanation: 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...
How must Application Access be configured to prevent all other private application scopes from creating configuration records on an application’s data tables?
How must Application Access be configured to prevent all other private application scopes from creating configuration records on an application’s data tables?A . You must create Access Controls to prevent all other application scopes from creating configuration records on an application’s data tables rather than using Application AccessB . Set...
Which method call returns true only if the currently logged in user has the catalog_admin role and in no other case?
Which method call returns true only if the currently logged in user has the catalog_admin role and in no other case?A . g_user.hasRole(‘catalog_admin’)B . g_user.hasRoleExactly(‘catalog_admin’)C . g_user.hasRoleOnly(‘catalog_admin’)D . g_user.hasRoleFromList(‘catalog_admin’)View AnswerAnswer: B Explanation: The method call that returns true only if the currently logged in user has the catalog_admin role and...
Which platform feature can be used to determine the relationships between field in an Import Set table to field in an existing ServiceNow table?
Which platform feature can be used to determine the relationships between field in an Import Set table to field in an existing ServiceNow table?A . Business Service Management MapB . Data SourcesC . Transform MapD . Cl Relationship BuilderView AnswerAnswer: C Explanation: A transform map determines the relationships between fields...
Which one of the following client-side scripts apply to Record Producers?
Which one of the following client-side scripts apply to Record Producers?A . Catalog Client Scripts and Catalog UI PoliciesB . UI Scripts and UI ActionsC . UI Scripts and Record Producer ScriptsD . Client Scripts and UI PoliciesView AnswerAnswer: A Explanation: Catalog Client Scripts and Catalog UI Policies are the...
Which one of the following is true regarding Application Scope?
Which one of the following is true regarding Application Scope?A . All applications are automatically part of the Global scopeB . Applications downloaded from 3rd party ServiceNow application developers cannot have naming conflictsC . Any developer can edit any applicationD . Developers can choose the prefix for a scope’s namespaceView...
What are some of the considerations to document as part of the business process?
It is best practice to define the business requirements and the process(es) an application will manage as part of the application development plan. What are some of the considerations to document as part of the business process?A . Business problem, data input/output, users/stakeholders, and process stepsB . Business problem, data...
Which of the following is a good practice for adding instructions to a form?
Which of the following is a good practice for adding instructions to a form?A . AnnotationsB . Related links to wiki pagesC . A context Menu UI ActionD . A population read-only fieldView AnswerAnswer: A Explanation: "Add instructional text and other design elements to your forms by using form annotations...
Which of the following methods are useful in Access Control scripts?
Which of the following methods are useful in Access Control scripts?A . g_user.hasRole() and current.isNewRecord()B . gs.hasRole() and current.isNewRecord()C . g_user.hasRole() and current.isNew()D . gs.hasRole() and current.isNew()View AnswerAnswer: B Explanation: Access Control scripts are server-side scripts that run when an Access Control rule is evaluated. They can use the gs...