How to show a incident record by Sys ID in Agent workspace tab from UI Script or Scripts Include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 12:40 AM - edited 09-14-2023 11:42 PM
Hi,
Hi, I am new to service now.
Requirement details: We have added a Softphone widget in service now agent workspace, whenever an event comes to that widget we have to create an incident and show the created incident record in workspace. Currently, Widget code is there in UI script, it calls the script include using Glide Ajax to create an incident. We need to show the created incident record in the main tab and also we need to show the incident list for the user sometimes. Please help.
1) How to show the newly created incident in the Agent workspace by SysId in the main tab?
2) How to show the incident list of same user (user sys id matches) in the main tab?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 06:18 AM
Hi @PriyaCool ,
You can simply navigate to lists tab in the workspace and then check incidents(ordered by created), you will be able to watch that record.
Also, if you rigid with sys id filter, you can perform that as well.
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 11:30 PM - edited 09-14-2023 11:42 PM
Hi @aman_sharma_07 , thanks for the response. But, I need to redirect to the newly created incident automatically from UI script or script includes. Can you pls guide me?