
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2021 08:14 PM
I'm wanting to use g_aw.openRecord() to open a task type record. All of the documentation points to sys_user or something not task related at all. The only example I see is the Copy Incident UI action, which I've tried to copy but it seems like it doesn't accept hardcoded sys_ids (for testing) or variables capture with getUniqueValue.
Has anyone done this?
Solved! Go to Solution.
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2021 08:25 PM
Hi Ashley,
I assume you know the API documentation for that method: https://developer.servicenow.com/dev.do#!/reference/api/paris/client/GlideAgentWorkspaceAPI#gaw-open...
As you can there it is possible to open a record by sys id.
For any examples it is helpful to filter OOTB UI actions for "Workspace Client Script contains g_aw.openRecord"
For example the "View Article" UI Action on the Knowledge Article Table:
Kind regards
Maik
If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2021 08:25 PM
Hi Ashley,
I assume you know the API documentation for that method: https://developer.servicenow.com/dev.do#!/reference/api/paris/client/GlideAgentWorkspaceAPI#gaw-open...
As you can there it is possible to open a record by sys id.
For any examples it is helpful to filter OOTB UI actions for "Workspace Client Script contains g_aw.openRecord"
For example the "View Article" UI Action on the Knowledge Article Table:
Kind regards
Maik
If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2021 06:07 AM
Thanks