sys_id for non admin users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2018 07:40 AM
Hi Experts,
I am new to servicenow, I am using Kingston
Firstly I wanted to know how sys_id gets generated in servicenow is it through UI actions or business rule, please advice.
My second question is how to get the sys_id for non admin users, I want sysid details for my asset Id how can I get it please advice the steps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2018 10:49 AM
The sys id is as far as I know generated automatically server-side and nothing you have to trigger or can control/prevent.
Why do you as a non admin user need the sys_id?
I don't see the point in it, as a non admin user!
But as a non admin user I don't think you can get hold of it, and the use of it is limited at best.
And I can't as an Admin even publish the SYS_ID without going outside the box...
Yes I can publish it but it takes a bit of fiddling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2018 11:07 AM
Hi Stewe,
We need this sys id for Asset user to tag with the unique sys_id in consumable forms to maintain certain process.
Can you please advice how to achieve it, only for the asset role not for any other users.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2018 11:49 AM
Is it inside or outside of Servicenow you are going to use it.
If you are going to use it with Service now just set up a reference field instead and the SYS_ID is automatically represented in the reference field.
An fast and very ugly way to fix this.
1 create a string value field in the table
name it ge.
u_my_sys_id
2 Set up a business rule on insert and update, click advanced and add this line of code in the script box.
current.u_my_sys_id = current.sys_id;
This is ugly as hell, but you get the value.
There are most certainly other ways, with changing the ACL for the table or some more clever plan for it.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2018 06:39 PM