Which one of the following is the baseline behavior of a table in a privately-scoped application?
Correct Answer:
D
https://docs.servicenow.com/bundle/rome-application- development/page/build/applications/concept/c_DefaultDesignAccessPermissions.html The baseline behavior of a table in a privately-scoped application is that all application scopes can read from the table. A privately-scoped application is an application that restricts write access to its tables and resources to scripts within the same scope. However, read access is allowed by default for all scopes, unless the administrator explicitly denies it using an Access Control rule. This allows for data sharing between different applications while maintaining data integrity and security. References: [Product Documentation | ServiceNow], [Advantages of Scoped Applications in ServiceNow]
Identify the incorrect statement about Delegated Development in ServiceNow.
Correct Answer:
A
Administrators can grant non-admin users the ability to develop global applications. Delegated Development is for the scoped applications only
Reference: https://docs.servicenow.com/bundle/orlando-application- development/page/build/applications/ concept/c_DelegatedDevelopment.html
The incorrect statement about Delegated Development in ServiceNow is that administrators can grant non-admin users the ability to develop global applications. Delegated Development allows administrators to grant non-admin users the ability to develop scoped applications, not global applications. Global applications are accessible by all other applications and do not have a namespace prefix. Scoped applications are isolated from other applications and have a unique namespace identifier. Delegated Development provides more granular control over the developer permissions, application resources, and data access. References: [Advantages of Scoped Applications in ServiceNow], [Product Documentation | ServiceNow]
What is a workflow context?
Correct Answer:
B
A workflow is a tool that allows you to automate processes on the ServiceNow platform. A workflow consists of activities and transitions that define the logic and flow of the process. A workflow context is an instance of a workflow that is generated from a workflow version, executes activities, and follows transitions. A workflow context is associated with a specific record on a table and tracks the state and progress of the workflow. You can view and manage the workflow contexts from the Workflow Contexts module or the Workflow Contexts related list on a record.
The other options are not valid definitions of a workflow context. A checked out workflow is a workflow that is being edited by a user and has not been published yet. The table and conditions for a workflow are the criteria that determine when a workflow should run on a record. The business reason or process for a workflow is the purpose and function of the workflow.
References:
✑ [Workflow overview]
✑ [Workflow context]
Which one of the following is the fastest way to create and configure a Record Producer?
Correct Answer:
C
The fastest way to create and configure a Record Producer is to open the table in the Table records and select the Add to Service Catalog Related Link. This will automatically create a Record Producer with the same fields as the table and add it to the Service Catalog. You can then modify the Record Producer as needed. The other options require more steps and manual configuration. Reference: Create a record producer
Which of the following methods are useful in Access Control scripts?
Correct Answer:
B
Access Control scripts are server-side scripts that run when an Access Control rule is evaluated. They can use the gs and current objects to access the GlideSystem and GlideRecord methods, respectively. Some of the useful methods in Access Control scripts are:
✑ gs.hasRole() - This method checks if the current user has a specified role. It returns true if the user has the role, and false otherwise. For example, gs.hasRole(‘admin’) will return true if the user is an administrator, and false otherwise.
✑ current.isNewRecord() - This method checks if the current record is a new record that has not been inserted into the database yet. It returns true if the record is new, and false otherwise. For example, current.isNewRecord() will return true if the record is being created, and false if the record is being updated or deleted.
The methods g_user.hasRole() and current.isNew() are not part of the server-side scripting API. They are part of the client-side scripting API, which is used in Client Scripts and UI
Policies. They cannot be used in Access Control scripts. References:
✑ [Access Control scripts]
✑ [GlideSystem methods]
✑ [GlideRecord methods]
Reference: http://servicenowmypath.blogspot.com/2017/