- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2023 11:51 PM
How to set the Domain of the Knowledge Category as same as that of the Knowledge Base where the PARENT is in DOCUMENT ID
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 02:58 AM
Hello,
Create before insert business rule on Knowledge Category(kb_category) table and select condition as Parent table is not empty and in script write below code.
current.setValue('sys_domain',current.parent_id.sys_domain);
Please mark my answer as helpful/correct if it helps you.
Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2023 09:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 02:58 AM
Hello,
Create before insert business rule on Knowledge Category(kb_category) table and select condition as Parent table is not empty and in script write below code.
current.setValue('sys_domain',current.parent_id.sys_domain);
Please mark my answer as helpful/correct if it helps you.
Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2023 09:52 PM