what is the mirror id in service now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:09 AM
Hi Community,
what is the mirror id in service now?
Regards,
Srinivasu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:10 AM
Hi @Srinivasu2,
It looks like this is something used internally within you organization. It is not a ServiceNow term.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:35 PM - edited 09-20-2023 12:36 PM
Dear Srinivasu,
Hi @Srinivasu2 . Hope you're doing great!
mirror ID?
A mirror ID is a reference to a record in the sys_user table. It is used to associate a user with a record in another table, such as a cmdb_ci record or a sc_task record.
Steps:
To provide a mirror ID in ServiceNow, you can follow these steps:
- Go to the record that you want to associate the user with.
- Click the Edit button.
- Scroll down to the Mirror ID field.
- Enter the Mirror ID of the user.
- Click the Save button.
Note:
You can find the Mirror ID of a user by going to the user's record in the sys_user table. The Mirror ID is displayed in the Mirror ID field.
2nd Method:
You can also use a script to automatically set the Mirror ID of a record when it is created or updated. To do this, you can use the following below code:
Code:
var mirrorID = gs.getUser().getMirrorID();
gs.setValue("Mirror ID", mirrorID);
This code will get the Mirror ID of the current user and set it on the record that you are creating or updating.
Kindly, please mark my solution as Helpful/Correct, if applicable. If I could help you with your Query then, please hit the Thumb Icon and mark as Correct!!
Thanks & Regards,
Revanth. K
Product Test Automation Engineer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 11:53 PM
Do you have any documentation around this? I've never heard of it, but would like to know more around it.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:40 PM
Hi @Srinivasu2 ,
Mirror ID is nothing but ID of the team member from the group who already has the required access/roles and by looking at which the same access/roles can be provided to the new user which will be created.
Please mark my answer helpful & accepted if it helps you resolve your query.
Thanks,
Danish