---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# CimInstanceToken - Global

# CimInstanceToken - Global {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The CimInstanceToken script include provides methods to represent the unique query identity of a Common Information Model (CIM) instance.

Use with any server-side discovery script.

## CimInstanceToken - getHashToken(String cimomip) {#ariaid-title2}

Parses the instance token.
{#r_CIT-getHashToken_S__table_gdx_bjc_rt__entry__3}

| Name | Type | Description |
|-|-|-|
| cimomip | String |   |
[Table 1. Parameters]

{#r_CIT-getHashToken_S__table_gdx_bjc_rt} {#r_CIT-getHashToken_S__table_hdx_bjc_rt__entry__2}

| Type | Description |
|-|-|
| String | The hash token |
[Table 2. Returns]

{#r_CIT-getHashToken_S__table_hdx_bjc_rt}

## CimInstanceToken - parse(XMLObj instance) {#ariaid-title3}

Parses the instance token.
{#r_CIT-parse_O__table_rt1_r3c_rt__entry__3}

| Name | Type | Description |
|-|-|-|
| instance | XMLObj | The CIM instance |
[Table 3. Parameters]

{#r_CIT-parse_O__table_rt1_r3c_rt} {#r_CIT-parse_O__table_st1_r3c_rt__entry__2}

| Type | Description |
|-|-|
| String | The parsed instance token, for example, CIM_ClassName{Key1='Value1',Key2='Value2'} |
[Table 4. Returns]

{#r_CIT-parse_O__table_st1_r3c_rt}

