Courseiva

CCNA Service Catalog And Request Management Questions

54 of 129 questions · Page 2/2 · Service Catalog And Request Management topic · Answers revealed

76
Multi-Selectmedium

Which TWO of the following are true regarding 'Catalog Client Scripts'?

Select 2 answers
A.They are used to update the sc_task state directly
B.They only run on the Service Portal
C.They can be used to make fields mandatory
D.They execute on the server side
E.They can be applied to Variable Sets
AnswersC, E

They provide dynamic control over form fields.

Why this answer

Catalog Client Scripts run on the client side (browser) and can be scoped to specific catalog items or global variable sets.

77
MCQmedium

A developer has created a Catalog Client Script that runs onchange of a variable named 'hardware_type'. The script needs to clear and repopulate a 'model' variable based on the selected hardware type using AJAX. Which client-side API method is best suited for making this asynchronous server call?

A.GlideRecordSecure
B.g_scratchpad
C.GlideAjax
D.g_form.getReference()
AnswerC

GlideAjax allows client scripts to execute server-side code asynchronously.

Why this answer

GlideAjax is the standard, asynchronous method for client-side scripts to communicate with the server in ServiceNow.

78
MCQmedium

An administrator is configuring a variable where users can select multiple options from a predefined list. Which variable type should be selected?

A.List Collector
B.Single Line Text
C.Select Box
D.Multiple Choice
AnswerA

Correct. A List Collector variable type allows users to select multiple records from a specified table.

Why this answer

The 'Select Box' allows one choice, but 'Checkboxes' or 'List Collector' are used for multiple selections. Specifically, when selecting multiple choices from a drop-down or list, a 'List Collector' or multiple checkboxes are used. For picking from a multi-select choice list, 'Select Box' is insufficient; 'Check Box' or 'List Collector' applies.

Wait, let's look at standard ServiceNow variable types: 'Select Box', 'Check Box', 'List Collector', 'Multiple Choice'. A 'Multiple Choice' variable type creates radio buttons (single select). A 'Select Box' creates a drop-down (single select).

A 'List Collector' allows selecting multiple records from a table. 'Check Boxes' allow multiple independent options.

79
MCQeasy

Which application menu contains the module for creating and managing Catalog Categories?

A.Service Catalog > Administration > Categories
B.System Definition > Catalog Categories
C.Request Management > Categories
D.Self-Service > Category Setup
AnswerA

Service Catalog Administration contains category management modules.

Why this answer

Catalog Categories are managed under Service Catalog > Catalogs > Categories or Service Catalog > Administration > Categories.

80
MCQmedium

An administrator wants to ensure that a catalog item is only visible to users located in the 'United Kingdom' company. Which feature should be configured?

A.Catalog Client Script evaluating g_user.getClientData('company')
B.User Criteria with the Company condition set to United Kingdom
C.Order Guide Rule Base location filter
D.Location Access List on the sc_cat_item table
AnswerB

User Criteria records support company conditions and attach to catalog items via 'Available For'.

Why this answer

User Criteria allows defining access rules based on company, department, location, role, or group, and attaching it to catalog items.

81
Multi-Selectmedium

Which TWO of the following statements are true regarding Variable Sets in ServiceNow? (Choose two.)

Select 2 answers
A.A variable set can contain multiple individual variables.
B.Variable sets can only be used on Record Producers and cannot be used on standard Catalog Items.
C.Once a variable set is added to a catalog item, its variables can be independently modified per item without affecting the master definition.
D.Variable sets replace the need for workflows in request fulfillment.
E.A variable set can be shared and reused across multiple catalog items.
AnswersA, E

Correct. Variable sets group multiple variables together as a single logical unit.

Why this answer

Variable sets can be reused across multiple catalog items and can contain multiple individual variables.

82
MCQeasy

Which module allows administrators to view and manage all submitted Service Catalog Requests across the organization?

A.Service Catalog > Catalog Items
B.Incident > Open
C.Service Catalog > Requests
D.Request Management > Active Cart
AnswerC

Service Catalog > Requests lists all sc_request records.

Why this answer

Requests are managed under Service Catalog > Requests.

83
MCQeasy

An administrator needs to group several catalog items into a logical category on the Service Portal homepage. What should be created to achieve this categorization?

A.Assignment Group
B.Catalog Definition
C.Catalog Category
D.Knowledge Base
AnswerC

Categories allow administrators to group related catalog items together for navigation in the Service Portal and Service Catalog.

Why this answer

Catalog categories organize items within the Service Catalog.

84
MCQmedium

An administrator needs to apply a set of UI policies across multiple catalog items without recreating them for each item. Which feature should be utilized?

A.Order Guide UI Policy Mapping
B.Catalog Data Policy Global Template
C.Catalog UI Policy associated with a Variable Set
D.Global Catalog Client Script Collection
AnswerC

UI policies created within a variable set apply automatically to any catalog item that includes that variable set.

Why this answer

Catalog UI Policies can be associated with Variable Sets, allowing the policies to apply wherever the variable set is used.

85
MCQhard

When configuring a Multi-Row Variable Set (MRVS) on a catalog item, an administrator needs to validate the submitted rows before the request is finalized. Where can custom validation logic for the MRVS be executed?

A.Data Policy on sc_req_item
B.Dictionary Overrides
C.Catalog Client Script (onSubmit)
D.Workflow Timer activity
AnswerC

Catalog Client Scripts with an 'onSubmit' type can access and validate Multi-Row Variable Set data before form submission.

Why this answer

Catalog Client Scripts of type 'onSubmit' can target MRVS data using specific APIs, or validation can be handled within the workflow/flow.

86
MCQhard

A Catalog Client Script of type 'OnChange' is written for a variable inside a Multi-Row Variable Set (MRVS). The script fails to execute when the user changes the variable value within the grid modal. What is the reason for this behavior?

A.Catalog Client Scripts cannot run on variables contained within variable sets.
B.Multi-Row Variable Sets execute client-side logic inside an isolated modal scope where standard g_form methods for MRVS require specialized functions.
C.The script execution order is set to 100 instead of 0.
D.The client script UI type must be set to 'Desktop' only.
AnswerB

MRVS uses specific client script structures and does not support standard g_form OnChange scripts directly for grid rows in older implementations without specific design approaches.

Why this answer

Standard Catalog Client Scripts do not support running OnChange events inside Multi-Row Variable Sets; specialized MRVS scripting or specific methods must be used.

87
Multi-Selecthard

Which THREE of the following are valid types of catalog items available in the ServiceNow Service Catalog? (Choose three.)

Select 3 answers
A.Database View Item
B.Workflow Template
C.Catalog Item
D.Record Producer
E.Order Guide
AnswersC, D, E

Correct. Standard catalog item is the most common type.

Why this answer

Standard catalog items, record producers, order guides, and content items are all valid types of catalog items.

88
Multi-Selecthard

When configuring an Order Guide in ServiceNow, which THREE components are essential for its proper functioning? (Choose three.)

Select 3 answers
A.Associated Catalog Items
B.Order Guide record definition
C.Rule Base
D.Multi-Row Variable Set schema
E.Record Producer mapping table
AnswersA, B, C

An order guide must have catalog items associated via the Rule Base or item list to be ordered.

Why this answer

Order guides require the Order Guide record itself, associated Catalog Items, and Rule Base rules.

89
MCQhard

A user reports that a variable is not appearing on a Catalog Item form, even though the variable is active and associated with the item. Which troubleshooting step should be performed first?

A.Rebuild the Catalog Item cache
B.Verify the Catalog Item workflow
C.Inspect Catalog UI Policies and Catalog Client Scripts for visibility logic
D.Check the Variable Set order
AnswerC

Client-side logic is the most likely culprit for unexpected hiding of variables.

Why this answer

Catalog UI Policies or Catalog Client Scripts are the most common reasons for unexpected variable visibility, as they can override default display settings.

90
Multi-Selectmedium

When creating variables in the Service Catalog, which TWO of the following variable types support choices or reference lookups? (Choose two.)

Select 2 answers
A.Single Line Text
B.Label
C.Select Box
D.Container Begin
E.Reference
AnswersC, E

Select Box variables present a dropdown list of choices.

Why this answer

Select Box, Checkbox, Radio Button, and Reference variable types handle choices or database references. Single Line Text does not.

91
Multi-Selecthard

Which THREE actions can be performed using Catalog UI Policies instead of Catalog Client Scripts? (Choose three.)

Select 3 answers
A.Make a variable mandatory
B.Make a variable read-only
C.Make a variable visible or hidden
D.Clear the value of a variable dynamically based on user input
E.Perform asynchronous GlideAjax lookups to auto-populate dependent fields
AnswersA, B, C

UI Policies can declaratively set variable mandatory states.

Why this answer

Catalog UI Policies can make variables mandatory, read-only, or hidden/visible without writing any JavaScript code.

92
MCQhard

A developer writes an onSubmit Catalog Client Script that performs an asynchronous GlideAjax call to validate data against a custom table before allowing form submission. The script returns false immediately before the AJAX response is received. How should this be handled in Service Portal?

A.Change GlideAjax to synchronous mode by passing false as the third parameter in getXML().
B.Set the UI type of the client script to 'Desktop' to force synchronous execution.
C.Convert the script into a Catalog Data Policy with a script condition.
D.Use the modern asynchronous onSubmit pattern with g_form.submitted and manual resubmission inside the AJAX callback.
AnswerD

Asynchronous validation in Service Portal requires halting submission, performing AJAX, and programmatically resubmitting upon callback success.

Why this answer

Service Portal onSubmit catalog client scripts supporting asynchronous validation must use g_form.submitted = false and call g_form.submit() after the callback resolves.

93
Multi-Selecthard

When designing complex request fulfillment processes, which THREE mechanisms are available in ServiceNow to handle approvals? (Choose three.)

Select 3 answers
A.Catalog Client Script 'approve()' function
B.Approval - Group workflow activity
C.Approval - User workflow activity
D.Flow Designer 'Ask for Approvals' action
E.Dictionary Policy approval rules
AnswersB, C, D

The Approval - Group activity requests approval from members of a specified assignment or approval group.

Why this answer

Approval - User, Approval - Group, and Flow Designer approval actions or workflow approval rules.

94
MCQeasy

When designing a catalog item, what is the purpose of adding 'Help Text' to a variable?

A.To log errors in the system log when the variable is empty
B.To define default database values for the variable
C.To restrict the user role required to view the variable
D.To provide additional instructions or guidance to users filling out the form
AnswerD

Help text provides clarifying information and instructions for end users.

Why this answer

Help text provides instructions or guidance to the user underneath or alongside the variable input field.

95
MCQeasy

What is the purpose of the 'No quantity' checkbox on a Service Catalog item form?

A.It sets the default inventory stock count to zero.
B.It disables checkout for bulk orders exceeding 10 items.
C.It prevents the item from being added to the shopping cart.
D.It hides the quantity selector on the item form, forcing the quantity to be 1.
AnswerD

No quantity hides the quantity input box.

Why this answer

The 'No quantity' checkbox hides the quantity selector on the catalog item form so users can only order a quantity of one.

96
MCQeasy

Which table stores the individual requested items (RITMs) created when a user checks out a cart from the Service Catalog?

A.sc_cat_item
B.sc_request
C.incident
D.sc_req_item
AnswerD

sc_req_item (Requested Item) stores individual items ordered within a request.

Why this answer

sc_req_item is the base table for requested items.

97
MCQmedium

A ServiceNow implementation specialist is designing a Catalog Item where the visibility of a custom variable named 'server_os' must dynamically change depending on the selection of another variable named 'request_type'. Which configuration tool is best suited for this requirement?

A.Data Policy
B.Business Rule
C.Catalog Client Script
D.Catalog UI Policy
AnswerD

Correct. Catalog UI Policies allow administrators to configure dynamic behaviors like visibility, mandatory status, and read-only status for catalog variables.

Why this answer

Catalog UI Policies are used to dynamically change the visibility, mandatory state, or read-only state of variables on a catalog item without writing complex client scripts.

98
MCQhard

An implementation specialist needs to validate that a multi-line text variable on a catalog item contains at least 50 characters before the form can be submitted. Which approach should be used?

A.Write a Data Policy targeting the Requested Item table.
B.Configure a Catalog UI Policy Action with a script condition checking character count.
C.Define a variable attribute with the parameter 'min_length=50'.
D.Create an onSubmit Catalog Client Script that checks the string length using g_form.getValue() and cancels submission if invalid.
AnswerD

Correct. onSubmit catalog client scripts can inspect variable values and prevent form submission by returning false.

Why this answer

A Catalog Client Script of type 'onSubmit' can check the length of a variable value using g_form.getValue() and return false with an error message if the validation fails.

99
MCQhard

An administrator created a Multi-Row Variable Set (MRVS) and wants to populate a field on the target task using the data collected in the MRVS rows. Since MRVS stores data as a JSON string, what is the best way to extract and process this data in a workflow script?

A.Dot-walk directly to current.variables.mrvs_name.column_name in the task activity.
B.Use a Record Producer script to flatten the MRVS into custom table rows automatically.
C.Configure a Catalog UI Policy to export MRVS rows to the sys_variable_value table.
D.Parse the JSON string using JSON.parse(current.variables.mrvs_name) in a Run Script activity and iterate through the resulting array.
AnswerD

JSON.parse() converts the MRVS string into a workable JavaScript object array for script processing.

Why this answer

Using JavaScript's JSON.parse() on current.variables.mrvs_variable_name allows iterating through the array of objects in a workflow script.

100
MCQeasy

What is the primary benefit of using Variable Sets in the ServiceNow Service Catalog?

A.To create reusable collections of variables that can be shared across multiple catalog items
B.To enforce database-level table normalization
C.To automatically close requests upon creation
D.To replace the need for workflows entirely
AnswerA

Variable sets save development time by allowing groups of variables to be defined once and attached to multiple catalog items.

Why this answer

Variable sets allow reusability across catalog items.

101
MCQmedium

An administrator needs to ensure that a set of variables appears on multiple Catalog Items without having to recreate them individually for each item. Which feature should the administrator configure?

A.Catalog Client Script Template
B.Record Producer
C.Variable Set
D.Order Guide
AnswerC

Variable Sets are designed specifically for grouping and reusing variables across multiple Catalog Items.

Why this answer

A Variable Set allows administrators to group variables together and reuse them across multiple Catalog Items.

102
Multi-Selectmedium

Which TWO methods can be used to pass variables from a catalog item into a fulfillment workflow in ServiceNow? (Choose two.)

Select 2 answers
A.Accessing variables directly via 'current.variables.variable_name' in workflow script activities
B.Using client-side DOM manipulation in the workflow canvas
C.Modifying system properties for each individual user session
D.Manually editing database tables sc_cat_item during workflow execution
E.Using Flow Designer data pills linked to the Requested Item trigger
AnswersA, E

Workflows can access item variables directly using the 'current.variables' object.

Why this answer

Using current.variables or workflow scratchpad / activity inputs.

103
MCQhard

An organization requires that when a user submits an order guide, the fulfillment workflow needs to evaluate rules to determine which catalog items are included based on user input. Where are these rules defined?

A.Order Guide Item Mappings
B.Rule Base
C.Catalog Client Scripts
D.Workflow Canvas
AnswerB

The Rule Base contains the evaluation criteria and cascading rules that determine which catalog items are added to the cart.

Why this answer

Rule Base defines the conditions under which items are included in an order guide.

104
MCQhard

A fulfillment team requires a workflow to dynamically branch based on the value of a choice variable selected in a Catalog Item. Which activity should be placed in the Flow Designer flow to evaluate this condition?

A.If
B.Wait for Condition
C.Switch Case
D.Ask for Approval
AnswerA

The If logic activity evaluates a condition (like a variable value) and allows branching paths.

Why this answer

The If flow logic activity is used to evaluate conditions, such as checking the value of a catalog variable, and directing the flow path accordingly.

105
MCQhard

An enterprise requires that a specific workflow stage set on the Requested Item (sc_req_item) is dynamically updated based on custom fulfillment states. Which mechanism should be used to synchronize workflow stages with custom choices on the state field?

A.Modify the Service Portal angular widget for sc_req_item to evaluate custom stages.
B.Configure 'Stage Field' mapping on the Workflow properties and ensure stage values match choice list values.
C.Write an After Update Business Rule on sc_req_item that calls wf.running() to force stage recalculation.
D.Use a Catalog Client Script to update g_form.setValue('stage', newState).
AnswerB

Setting the stage field mapping in workflow properties allows the workflow to track state/stage synchronization automatically.

Why this answer

Workflows can have stages mapped to fields or updated via workflow stage sets, but custom stage sets or script activities using current.stage = 'value' are often used when custom state fields drive progression.

106
MCQhard

When designing a Record Producer that maps user input to the Incident table, an administrator notices that the 'Caller' field on Incident is not populating correctly even though the variable is mapped to 'caller_id'. What is the most likely reason?

A.The variable name must exactly match 'sys_id' to populate reference fields.
B.The variable type is set to Single Line Text instead of Reference pointing to the sys_user table.
C.Record producers cannot map fields to the Incident table due to security restrictions.
D.The Incident table requires an active Business Rule to accept record producer inputs.
AnswerB

Mapping a text variable to a reference field fails because reference fields expect a valid sys_id reference object/string from a reference variable type.

Why this answer

Record producer variable mapping requires the variable type to match the target field type (e.g., Reference variable for Reference fields), and sys_id values must be passed correctly.

107
MCQmedium

When creating a Catalog Client Script, what is the purpose of selecting 'Mobile / Service Portal' as the UI type?

A.It ensures the script executes correctly in Service Portal and mobile interfaces where DOM manipulation is restricted.
B.It restricts the script to run exclusively on native iOS and Android mobile apps.
C.It bypasses client-side caching for catalog item variables.
D.It automatically converts jQuery syntax into AngularJS directives.
AnswerA

Service Portal and mobile apps require portal-compatible APIs, and setting the UI type ensures proper scoping and execution.

Why this answer

Selecting 'Mobile / Service Portal' ensures the client script executes within the Service Portal and mobile environments rather than legacy UI16.

108
MCQeasy

A catalog administrator needs to create a collection of variables that can be reused across multiple catalog items. Which feature should they use?

A.Variable Templates
B.Variable Sets
C.Variable Collections
D.Catalog Item Groups
AnswerB

Variable Sets allow for the grouping of variables to be shared across multiple catalog items.

Why this answer

Variable Sets are designed for reusability, allowing administrators to group variables and apply them to multiple catalog items or order guides simultaneously.

109
MCQmedium

A fulfillment team requires that specific tasks within a Catalog Task activity are assigned dynamically based on the value of a variable selected by the user in the catalog item. How can an administrator achieve this in the Workflow designer?

A.Use a Catalog Client Script to change the assignment group of the underlying task record directly.
B.Dot-walk from the Catalog Task activity configuration to the requested item variables to set the Assignment Group.
C.Configure the Catalog Task activity assignment group field to reference a system property containing the mapping.
D.Write a Business Rule on the sc_req_item table that triggers before insert to assign the task.
AnswerB

Catalog Task activities allow dot-walking directly to variables using syntax like current.variables.[variable_name] in advanced scripting or direct assignment fields where supported.

Why this answer

Using workflow script or dot-walking in the Catalog Task activity configuration allows referencing current.variables.variable_name to assign groups dynamically.

110
MCQhard

During an order guide configuration, an administrator needs to ensure that specific catalog items are automatically added to the cart based on the user's answers in the initial 'Describe Needs' prompt. Where should the administrator define this logic?

A.Order Guide Rule Base
B.Workflow Properties
C.Cart Layout
D.Catalog Client Script
AnswerA

Correct. Rule bases define the conditions under which specific catalog items are included in an order guide submission.

Why this answer

Order Guide Rule Bases contain the rules that evaluate user input from the describe needs section and conditionally include specific catalog items in the generated cart.

111
MCQmedium

An organization uses custom pricing for specific catalog items based on user attributes or quantities. Where is item pricing primarily configured for a standard catalog item?

A.Workflow transition conditions
B.Service Level Agreement (SLA) definition
C.Order Guide Rule Base
D.Catalog Item form (Price and Recurring Price fields)
AnswerD

Base pricing is set directly on the catalog item form using the Price and Recurring Price fields.

Why this answer

Standard catalog items have a Price and Recurring price field directly on the catalog item record, supplemented by variable pricing if applicable.

112
MCQeasy

An administrator needs to create a variable that is shared across multiple catalog items in ServiceNow. Which feature should the administrator use to achieve this efficiently without recreating the variables each time?

A.Order Guide
B.Catalog UI Policy
C.Record Producer
D.Variable Set
AnswerD

A Variable Set is a container for variables that can be reused across multiple catalog items.

Why this answer

Multi-row variable sets or standard variable sets can be attached to multiple catalog items. Standard variable sets are designed for sharing collections of variables across items.

113
MCQmedium

When configuring User Criteria to restrict a catalog item so that only members of the 'HR' department can view it, where should this user criteria be attached?

A.In the 'User Criteria' related list on the Catalog Category form.
B.In the 'Available For' related list on the Catalog Item form.
C.In the 'Audience' field of the Service Portal Page record.
D.In the 'Access Control' rules mapped to the sc_cat_item table.
AnswerB

Available For and Not Available For related lists on catalog items define user criteria visibility.

Why this answer

User criteria is attached to catalog items via the 'Available For' or 'Not Available For' related lists.

114
Multi-Selecteasy

Which TWO tabs or related lists on a Catalog Item form are used to manage User Criteria for visibility? (Choose two.)

Select 2 answers
A.Dictionary Overrides
B.Available For
C.Assignment Rules
D.Not Available
E.Workflow Activities
AnswersB, D

The 'Available For' related list determines which user criteria grant visibility to the item.

Why this answer

'Available For' and 'Not Available' related lists manage user criteria.

115
Multi-Selecthard

Which THREE of the following components are part of the Service Catalog data model? (Choose three.)

Select 3 answers
A.Configuration Item [cmdb_ci]
B.Problem [problem]
C.Catalog Task [sc_task]
D.Request [sc_request]
E.Requested Item [sc_req_item]
AnswersC, D, E

Correct. [sc_task] represents fulfillment tasks generated for requested items.

Why this answer

The core Service Catalog data model includes Request [sc_request], Requested Item [sc_req_item], and Catalog Task [sc_task].

116
Multi-Selectmedium

Which TWO methods can an administrator use to control access to a specific catalog item so that only users in a specific department can see it? (Choose two.)

Select 2 answers
A.Adding User Criteria to the 'Not Available' related list to exclude other departments
B.Modifying the cart layout properties
C.Writing a standard Table ACL on the sc_cat_item table
D.Attaching User Criteria to the 'Available For' related list on the catalog item record
E.Creating a Catalog UI Policy
AnswersA, D

The 'Not Available' related list allows administrators to explicitly exclude specific user criteria groups.

Why this answer

User Criteria and Catalog Categories/Roles or Available For related list. Available For uses User Criteria.

117
MCQhard

When utilizing Flow Designer to fulfill a Service Catalog request, how should the flow access the variables submitted by the user on the catalog item?

A.By calling a client-side script from the flow action
B.Using a legacy GlideRecord query on sc_item_option_mtom
C.Through the 'Requested Item' record data pill, accessing the 'Variables' section
D.Using system properties configured in the flow inputs
AnswerC

Flow Designer provides direct access to item variables via the data pill associated with the Requested Item trigger.

Why this answer

Flow Designer provides a 'Catalog Item' trigger which automatically exposes requested item record and associated variables as pills.

118
Multi-Selecthard

Which THREE of the following statements are correct regarding Catalog Client Scripts? (Choose three.)

Select 3 answers
A.They execute on the server side during database insert operations.
B.They support script types including onLoad, onChange, and onSubmit.
C.They can use the g_form API to control field visibility and values.
D.They can be written to execute asynchronously using GlideAjax to query server data.
E.They automatically replace workflow activities in defining task assignments.
AnswersB, C, D

Correct. These are the standard client script types available for catalog items.

Why this answer

Catalog client scripts support types such as onLoad, onChange, and onSubmit, executing client-side browser logic for catalog items.

119
MCQhard

An administrator needs to write an onSubmit Catalog Client Script that validates whether at least one checkbox in a group of ten checkboxes is checked before the item can be added to the cart. Which approach should be used?

A.Write a Client Script on the sc_cart table to intercept the checkout action.
B.Configure a Dictionary Override on the sc_req_item table to enforce mandatory checkboxes.
C.Iterate through the checkbox variable names using g_form.getValue() and return false if none are true, preventing submission.
D.Use document.getElementsByClassName() to count checked elements directly from the DOM.
AnswerC

Checking values via g_form methods ensures compatibility across Service Portal and desktop interfaces without violating DOM isolation.

Why this answer

Using g_form.getValue() or iterating through variable names to check their values is standard, but in Service Portal, asynchronous validation requires careful handling or standard g_form synchronous checks where applicable.

120
Multi-Selecthard

An administrator is troubleshooting a failing Catalog Client Script. Which THREE of the following practices should be followed to ensure the script works correctly in Service Portal? (Choose three.)

Select 3 answers
A.Avoid direct DOM manipulation (e.g., document.getElementById) and use g_form APIs instead.
B.Use synchronous GlideRecord queries inside client-side OnChange scripts for instant validation.
C.Write all client scripts using jQuery selector syntax for broad browser support.
D.Set the UI type to 'Mobile / Service Portal' or 'All' to ensure portal execution.
E.Test scripts using g_form methods that are supported across both desktop and portal interfaces.
AnswersA, D, E

Direct DOM access fails or is unsupported in Service Portal due to container isolation.

Why this answer

Service Portal client scripts must avoid DOM manipulation, use g_form methods correctly, and specify appropriate UI types.

121
MCQeasy

Which record type represents the actual fulfillment process of a single catalog item included in a request?

A.Order Guide (sc_cat_item_guide)
B.Catalog Task (sc_task)
C.Service Request (sc_request)
D.Request Item (sc_req_item)
AnswerD

The RITM represents the specific item being fulfilled.

Why this answer

The Request Item (sc_req_item) table acts as the granular record for the fulfillment of an individual item, while the Request (sc_request) is the parent container.

122
Multi-Selectmedium

When configuring a Service Catalog Item, which TWO methods can be used to pass variable values from a parent item to a child item within an Order Guide? (Choose two.)

Select 2 answers
A.Creating a Business Rule on the sc_cart table
B.Using identically named variables between the parent order guide and the child catalog items
C.Attaching the same Variable Set to both the Order Guide and the Catalog Items
D.Configuring explicit variable mappings in the Order Guide definition
E.Using a Catalog Client Script with the g_form.getReference() method
AnswersB, D

Variables with the exact same name and type will automatically cascade values from the order guide to the requested items.

Why this answer

Variable mapping can be achieved by using identically named variables across items or by explicitly defining cascading mappings in the Order Guide rule definition.

123
MCQhard

A developer needs to retrieve variable values from a requested item (sc_req_item) inside a Server-side Script Include called by a catalog workflow. Which method is the most reliable way to obtain variable values on the sc_req_item record?

A.current.variable_pool[variable_name]
B.current.variables.variable_name
C.GlideSystem.getProperty('variable_name')
D.gr.getValue('variables')
AnswerB

The 'variables' object on the sc_req_item record allows direct dot-walking to retrieve variable values in server scripts.

Why this answer

Variable values on sc_req_item can be accessed using 'current.variables.variable_name' or via the 'getItemVariablesXML()' method depending on the context, but 'current.variables' is standard.

124
MCQhard

An order guide includes three cascading catalog items. When a user submits the order guide, the values populated in the base order guide prompt variables do not pass to one of the child items. What is the most likely cause of this behavior?

A.The variable names or types between the order guide and the child catalog item do not match exactly.
B.The child catalog item has 'No cart' checked in its Web Service settings.
C.Cascade variables is disabled globally in Service Catalog properties (glide.sc.cascade).
D.The child catalog item uses a multi-row variable set which prevents cascading.
AnswerA

Cascading relies on exact variable name and type matching between the order guide and the target items.

Why this answer

Cascading maps variables automatically if the variable names and types match between the order guide and the catalog items. If they do not match, cascading fails for those specific variables.

125
MCQhard

A custom Service Catalog workflow encounters an error where a 'Run Script' activity fails to complete because it attempts to query the sc_cart table instead of the requested item. What is the proper table object to query for submitted request items within a workflow?

A.sc_cart
B.sys_user_has_role
C.sc_req_item
D.sc_request
AnswerC

Workflows attached to catalog items run against the Requested Item (sc_req_item) table represented by 'current'.

Why this answer

Workflows running on requested items (sc_req_item) use the 'current' object which represents the sc_req_item record.

126
Multi-Selecteasy

Which TWO actions can a Catalog UI Policy perform on catalog item variables without writing code? (Choose two.)

Select 2 answers
A.Make variables mandatory or optional
B.Automatically compile Java source code
C.Delete user profile records
D.Create new database tables
E.Make variables visible or hidden
AnswersA, E

Catalog UI Policies can dynamically set variables to mandatory or optional.

Why this answer

UI Policies can make variables mandatory, visible, or read-only.

127
MCQmedium

An administrator is configuring a Record Producer that allows end users to submit a Facilities request. Which table should be selected as the target table for this record producer?

A.Cart [sc_cart]
B.Catalog Item [sc_cat_item]
C.Requested Item [sc_req_item]
D.Target functional table (e.g., Facilities [x_facilities_task])
AnswerD

Correct. A record producer allows users to create a record on a target table, such as Incident, Problem, or a custom application table.

Why this answer

A Record Producer is a type of catalog item that produces a record on a specific target table, such as Facilities [x_facilities_task] or Incident [incident].

128
MCQhard

A fulfillment workflow has multiple parallel branches using 'Join' and 'If' activities. One of the branches creates a catalog task. If that task is cancelled, the workflow needs to skip subsequent approval steps in that branch. How should the administrator design this branch termination?

A.Use a Workflow Event Router to catch task state changes.
B.Check the 'Skip if task cancelled' checkbox directly on the Catalog Task workflow activity properties.
C.Write a Business Rule on sc_task that cancels the workflow engine context upon cancellation.
D.Attach a Timer activity set to 0 seconds to abort parallel execution.
AnswerB

Catalog Task workflow activities include built-in branch handling options for task cancellation.

Why this answer

Using an 'If' activity or checking task state (e.g., state == 4 for cancelled) allows routing workflow paths conditionally when tasks are cancelled.

129
MCQmedium

An administrator wants to hide a variable set on a catalog item form when a checkbox variable is unchecked. Where should this behavior be configured?

A.Catalog UI Policy
B.Catalog Client Script (onLoad)
C.Workflow properties
D.Order Guide Rule Base
AnswerA

Catalog UI Policies can target variable sets to dynamically show, hide, or make mandatory all variables within that set.

Why this answer

Catalog UI Policies can target entire variable sets as well as individual variables.

← PreviousPage 2 of 2 · 129 questions total

Ready to test yourself?

Try a timed practice session using only Service Catalog And Request Management questions.