ServiceNow Configuration and Scripting Quiz
40 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does a transform map do in ServiceNow?

  • Configures user roles for data import
  • Maps data from external databases
  • Creates dependencies between application files
  • Determines field relationships in Import Set tables (correct)
  • Which statement about Access Control configurations without conditions or scripts is NOT true?

  • table.id grants access to all records on the table (correct)
  • table.None grants access to all records on a table
  • table.field grants access to a specific field in a record
  • table.* grants access to all fields in a record
  • Which operation can be performed from both Studio and the Git Repository?

  • Merge Commits
  • Apply Remote Changes
  • Edit Repository Configurations
  • Create Branch (correct)
  • In which type of application file is cross scope access turned on by default?

    <p>Table</p> Signup and view all the answers

    Which statement about UI Policy execution order is true?

    <p>Actions execute before Scripts</p> Signup and view all the answers

    ServiceNow evaluates Access Controls in what order?

    <p>From the most specific match to the most generic match</p> Signup and view all the answers

    Which types of reports can be created by right-clicking on a column header in a table's list?

    <p>Bar Chart and Pie Chart</p> Signup and view all the answers

    In an Email Notification, what is NOT true about the Weight field?

    <p>Weight defaults to one</p> Signup and view all the answers

    Which method returns true if the currently logged in user has the admin role?

    <p>gs.hasRole('admin')</p> Signup and view all the answers

    When ServiceNow makes a request to a web service, which role does ServiceNow act as?

    <p>Consumer</p> Signup and view all the answers

    Which of the following objects is NOT accessible in a Display Business Rule?

    <p>previous</p> Signup and view all the answers

    Which method is NOT used for logging messages in a server-side script for a privately-scoped application?

    <p>gs.log()</p> Signup and view all the answers

    What syntax is used in a Record Producer script to access values from Record Producer form fields?

    <p>producer.variablename</p> Signup and view all the answers

    What is true about a Script Include with a Protection Policy value of Protected?

    <p>The Protection Policy is applied only if the application is downloaded from the ServiceNow App Store</p> Signup and view all the answers

    Which statement is true regarding Application Scope?

    <p>3rd party applications cannot have naming conflicts</p> Signup and view all the answers

    Which objects can be used in Inbound Action scripts?

    <p>current and email</p> Signup and view all the answers

    What does a Weight value of zero signify regarding Notifications?

    <p>Notifications are always sent when the criteria are met.</p> Signup and view all the answers

    Which method is part of Access Control scripts?

    <p>g_user.hasRole() and current.isNewRecord()</p> Signup and view all the answers

    Which of the following is a valid Link type for Modules?

    <p>List of Records, Content Page, Order, URL (from arguments:)</p> Signup and view all the answers

    Which object is part of the client-side scripting API?

    <p>GlideUser object (g_user)</p> Signup and view all the answers

    What objects can be utilized in a Scheduled Script Execution?

    <p>GlideRecord and current</p> Signup and view all the answers

    Which statement is true regarding GlideUser (g_user) methods?

    <p>Can be used in Client Scripts, UI Policies, and UI Actions.</p> Signup and view all the answers

    Which action correctly adds a section to the Form Designer layout?

    <p>Drag the section from the Field Types tab to the desired location.</p> Signup and view all the answers

    Which method is used to print a message on a blue background to the top of the current form by default?

    <p>g_form.addInfoMessage()</p> Signup and view all the answers

    What is the URI in a REST script used for?

    <p>To access, query, or modify data</p> Signup and view all the answers

    Which two roles are required to perform operations on a source control repository?

    <p>source_control</p> Signup and view all the answers

    Which of the following is NOT a logging method for client-side scripts?

    <p>console.log()</p> Signup and view all the answers

    What does selecting the 'Create module' field when creating a table result in?

    <p>A list of all records from the table</p> Signup and view all the answers

    What is the maximum number of application menus an application can have?

    <p>1, which is used for all application modules</p> Signup and view all the answers

    Which method is NOT a valid way to install an application on a ServiceNow instance?

    <p>Import from a third-party developer directly</p> Signup and view all the answers

    What is true about selecting an application in the application picker?

    <p>The application scope is set to the selected application</p> Signup and view all the answers

    Which statement is TRUE regarding the deletion of fields from a table?

    <p>User-defined non-inherited fields can be deleted</p> Signup and view all the answers

    What should be documented as part of the business process?

    <p>Business problem and data input/output</p> Signup and view all the answers

    What does a Protection Policy value of Protected imply for a Script Include?

    <p>The application must be downloaded from the ServiceNow App Store for the policy to take effect</p> Signup and view all the answers

    What syntax should be used to reference properties of an event in an Email Notification?

    <p>${event.}</p> Signup and view all the answers

    What is the default behavior when the Create module field is selected for a new table?

    <p>Display a list of all records from the table</p> Signup and view all the answers

    Which of the following is a benefit of extending an existing table like tasktable?

    <p>Repurposing existing fields by changing their labels</p> Signup and view all the answers

    Which method retrieves the sysID in ServiceNow?

    <p>gs.getUserID()</p> Signup and view all the answers

    Which of the following is NOT a valid way to enter data into a ServiceNow application?

    <p>Java package call</p> Signup and view all the answers

    Which of the following expressions is correct to call a function in ServiceNow?

    <p>query()</p> Signup and view all the answers

    Study Notes

    ServiceNow Configuration and Scripting

    • Transform maps establish relationships between Import Set tables and existing ServiceNow tables (e.g., Incidents, Users).
    • Access Control without conditions or scripts:
      • table.* grants access to all fields in a record.
      • table.None grants access to all records in a table (this statement is NOT true).
    • Source control operations available in both Studio and Git Repository include creating branches.
    • Cross-scope access for new application files is enabled by default for Table configuration.
    • UI Policy Actions execute before UI Policy Scripts.

    Access Control Evaluation

    • ServiceNow evaluates Access Controls from the most specific match to the most generic.
    • Report Types available via right-clicking on a column include Bar Chart and Pie Chart.
    • Changing the label of a field in a child table affects only that table.

    Email Notifications

    • The Weight field in Email Notifications influences which notifications are sent:
      • A Weight of zero means the notification may always be sent when criteria are met (this statement is NOT true).

    Scripting and APIs

    • Useful methods in Access Control scripts include gs.hasRole() and current.isNewRecord().
    • In Script Includes with a Protection Policy value of Protected, access is limited to applications downloaded from the ServiceNow App Store.
    • Client-side scripting APIs include GlideUser (g_user), which can be used in multiple script types.

    Application Management and Scope

    • Application Scope determines permissions and access to application components.
    • Selecting an application from the application picker sets the application scope.
    • Benefits of extending an existing table include repurposing fields, using existing fields without modification, and retaining parent table logic.

    Data Handling and Notifications

    • ServiceNow can export data in multiple formats, including Excel and CSV.
    • The method gs.getUserID() retrieves the current user’s unique identifier.

    General Knowledge and Best Practices

    • To create custom applications, the key reasons include replacing outdated systems, extending service delivery, and enhancing ServiceNow value.
    • Documentation for business processes should cover business problems, data input/output, users/stakeholders, and process steps.
    • Valid syntax in SOAP messages uses ${variable_name} to indicate variables during function calls.

    Debugging and Client-Side Scripts

    • Debugging strategies for client-side scripts include g_form.addInfoMessage(), Field Watcher, and using log functions.
    • The creation of application modules defaults to displaying a list of all records from the table if specified during table creation.

    Event Handling and Notifications

    • ServiceNow responds to events through Script Actions and Email Notifications.
    • To reference properties of an event in Email Notifications, the correct syntax is ${event.}.

    Task Table and Access Control

    • The Task table serves as both a parent and base table, facilitating better organization and structured access control.
    • Different access permissions can be indicated using syntax like table.none, table.*, and specific field-level permissions based on roles like Admin and ITIL.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    ServiceNow Exam Questions PDF

    Description

    Test your knowledge on ServiceNow configuration, access control, and scripting. This quiz covers the essentials of transform maps, UI policies, email notifications, and more. Perfect for anyone looking to deepen their understanding of ServiceNow's functionalities.

    More Like This

    Use Quizgecko on...
    Browser
    Browser