Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Population Flow
Looking from the adapter perspective, the population flow consists of the following steps:
- The adapter receives the information about the CI and relation data that needs to be obtained from ServiceNow.
- Then it connects to ServiceNow and transfers the required data using ServiceNow REST API. The CIs and relations are fetched directly from target tables (no staging tables here) and handed over to the next stage in the pipeline.
- After the CIs and relations are transformed and inserted into UCMDB then the UCMDB sends the information about the assigned global_id values for each CI to the adapter
- The adapter updates the correlation_id (or custom) fields of the populated records with the assigned global_id values. This step is optional and can be disabled in the adapter configuration file.
The information about the ServiceNow tables to populate the data from is specified in mapping files.
Consider the following example from the mapping file:
<target_entities> <source_instance query-name="TEST UNIX Population 1.0" root-element-name="cmdb_ci_unix_server">
<target_entity name="Root">
<target_mapping datatype="STRING" name="name" value="cmdb_ci_unix_server['name']"/>
<target_mapping datatype="STRING" name="sys_id" value="cmdb_ci_unix_server['sys_id']"/>
<target_mapping datatype="STRING" name="global_id" value="cmdb_ci_unix_server['correlation_id']"/>
...
</source_instance>
</target_entities>
In this example the adapter will query the table cmdb_ci_unix_server for target entity named Root.
Additionally, there are some fields that deserve special attention in the mapping XML. This can be seen in the above example:
- correlation_id (or a custom ServiceNow field) needs to be mapped to UCMDB global_id property. This greatly helps in UCMDB reconciliation process. Please note that if this mapping is not specified UCMDB will still do the reconciliation on the CI properties themselves but this is not recommended. Using correlation_id-global_id mapping exactly correlates the CIs from the two servers. For more details, see CI Reconciliation.
- ServiceNow sys_id field must be mapped to UCMDB CI sys_id property. (This is a virtual UCMDB property). This mechanism is essential for adapter in order to update the ServiceNow correlation_id (or a custom ServiceNow field) with the assigned global_id value. If this mapping is not specified, then the adapter can’t deduce the source CI sys_id value and cannot perform the update.