CIS-SM practice question 23 of 25
When using Pattern Designer, which one of the following best describes a variable $proxy_urls[+].host?
Full set: 106 questionsIn ServiceNow's Pattern Designer, the syntax $variablename[+].fieldname is used to manipulate data stored in table variables. The $ indicates a variable. proxyurls is the name of a table variable created in a previous step. The [+] operator acts as an iterator, instructing the pattern to traverse all rows within the proxyurls table. Finally, .host specifies the selection of the value from the 'host' column for each row that is iterated over. Therefore, the expression collects an array of all 'host' field values from every row in the proxyurls table.
A. The proxyurls value for the first row of the host table: This is incorrect. The table is proxyurls, not host. The [+] operator refers to all rows, not the first row.
B. The proxyurls values from all rows of the host table: This incorrectly identifies host as the table name. The expression specifically extracts values from the host column of the proxyurls table.
D. The host field value for the first row of the table proxyurls: This is incorrect. The [+] operator is used to iterate over all rows. Accessing only the first row would typically use an index, such as [1].
1. ServiceNow Product Documentation: Use variables in patterns.
Reference: In the "Refer to values in a table" section, the documentation explicitly states: "To refer to a value from a specific column in all rows of a table, use this syntax: $tablename[+].columnname". This directly validates that $proxyurls[+].host retrieves the host field values from all rows of the proxyurls table. (Accessed on the Washington release documentation).
Keep practicing
Take the free CIS-SM practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CIS-SM practice questions
- Question 2Which of the following are methods used to initiate discovery on a service? (Choose three…
- Question 3In Event Management, which of the following rules allows for automatic task creation?
- Question 4Which one of the following best describes the process that Service Mapping uses to run a …
- Question 5In Service Mapping, when discovery is started, what is the execution strategy used to run…
- Question 6In ServiceNow Discovery, which one of the following phases is the server RAM value discov…
- Question 7Predictive Intelligence provides which one of the following benefits?
