Ownership group field is getting empty in the list view of knowledge article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2025 03:39 AM
We have enabled 'Ownership group' field in the knowledge article to trigger approvals through flow designer.
For the use case, setting ownership group field when the 'configuration item(ci owner group value)' field changes using client scripts and script include.
Ownership group field value is visible on the form but not on the list view. we tried setting it through business rule(after insert,update) but the approvals are not triggering.
Client script: (on change of configuration item field)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 02:25 AM
are you sure the field name cmdb_ci is correct on your table on which BR is written?
Are you sure that CI has support_group populated in it?
Are you sure Ownership Group field on your table on which BR is written is referring to sys_user_group table?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 02:33 AM
Yeah all are correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 02:45 AM
I just tried it myself with the most simple BR ever and it worked. The issue must be within the data as Ankur mentioned. This works without any script whatsoever.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 03:28 AM
Tried with before/after business rules,
Ownership group is populating when the form is saved and in the list view it is setting empty and checked in XML and it is also empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 03:32 AM
in list view to work the CI field should change
You should select the new CI and save the record
Double click the field in list, select CI and click the Checkbox and record will be saved
Then your Before update BR will trigger and it will work
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader