How to set the Domain of the Knowledge Category as same as that of the Knowledge Base.

sreeshsurendran
Tera Guru

How to set the Domain of the Knowledge Category as same as that of the Knowledge Base where the PARENT is in DOCUMENT ID

2 ACCEPTED SOLUTIONS

Not applicable

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

View solution in original post

Hi @Community Alums , thanks for providing the solution. It's working as expected 🙂

View solution in original post

2 REPLIES 2

Not applicable

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

Hi @Community Alums , thanks for providing the solution. It's working as expected 🙂