How Non-Licensed Users Can View Incident Management Details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2025 06:25 PM
We currently provide a non-license user account for our company.
However, there is no way to check the details of the company's incident management, and user can only view tickets that user have raised ticket.
Is there a way to solve this without having a license?
If there is, please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2025 09:38 PM
Hi @Daiki Ishizaki ,
In your widget you can write code like below to display the incidents.
var gr = new GlideRecord('incident');
gr.addQuery('company', gs.getUser().getCompanyID());
gr.query();
data.incidents = [];
while (gr.next()) {
data.incidents.push({
number: gr.number.toString(),
short_description: gr.short_description.toString(),
state: gr.state.getDisplayValue(),
priority: gr.priority.getDisplayValue()
});
}
return data;
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2025 05:42 PM
Thanks, I'll give it a try.
Do you know where to find the widget script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2025 07:32 PM
Hi @Daiki Ishizaki ,
you need to create new one or if you have existing widget and on that you wanna display then edit the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2025 01:12 AM
A user needs access to the data of a table/field to be able to see that data. And that is licensed. By default you will be able to see your own data (the incidents you created/are on the watchlist) or you need to have a role.
You will need to update the ACLs to enable these users to see their company incidents (with CSM you have the ability to see everything of your account, not with ITSM). And once you change the ACLs, ServiceNow will start billing you, because those users have access to the data (making it licensed users).
Either license them, move to CSM instead of ITSM or write logic to put the people that need to see the tickets on the watch list, so they have access.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark