- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 12:11 AM
Hi,
I have a custom table called u_groups_notice with two fields:
1) Task of type Reference to the task table.
2) Group List of type Reference to sys_user_group table.
How can I create a UI Action called 'Notice Groups' in Service Operation Workspace on the incident table that when the user click, he will redirect to m2m template window to edit (add/delete) groups and after clicking save. new record will be add/deleted from u_groups_notice according to the user's action.
When the user clicks on 'Notice Groups' UI Action, he will be redirect to groups collection.
After clicking 'Save', records will be deleted or added to u_groups_notice table with the current incident = task
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 09:29 AM
@Alon Grod Create the UI action on in incident as below
In workspace section "Format for Configurable Workspace" field is checked.
Note: add the tempalte url in the url key shown in image above (after serice-now.com). And replace the sys_id of the incident record in the tempalte url with "g_form.getUniqueValue()"
Result:
Please mark as correct answer if this solved your issue
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 03:52 AM
Hi @Alon Grod
Please try below code it will help.
For this you need to create one ui page in which customize slush bucket of group will show
*********************************************************************************************
UI action
Name: Notice Group
Client: true
Form Button: true
OnClick: addNoticeGroups()
Script:
Please try and Mark Helpful and Correct if it really helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 09:29 AM
@Alon Grod Create the UI action on in incident as below
In workspace section "Format for Configurable Workspace" field is checked.
Note: add the tempalte url in the url key shown in image above (after serice-now.com). And replace the sys_id of the incident record in the tempalte url with "g_form.getUniqueValue()"
Result:
Please mark as correct answer if this solved your issue
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 09:41 AM
@jaheerhattiwale How do I know what should be the template url in my scenario ?