Grc in knowledge management

Sweta1012
Tera Contributor

Hi everyone, 

I have a requirement that checkout button should be visible to only non policy grc kb articles. 

I have given the non policy categories by hard coding it and checkout is visible in those categories. But suppose in future more categories gets added under policy or non-policy, then it won't be a feasible solution. 

I can give condition as 'not equal to policy' maybe... But dont know if its the correct approach or not. 

As under policy grc kb we will have policy, procedure, control objectives etc.. So we can't even hard code it because in future if something gets added in policy, then it will affect the functionality of checkout button. 

I am new to grc, can anyone tell me how to do it? 

1 REPLY 1

PrashantRathore
Tera Contributor

Hi Sweta,

The requirement is not very clear to me. But, I assume you have tried "Can Contribute" related list in knowledge base level or article level. if that doesn't fulfilled you requirement and you want to use scripting for this, you can create a system property where you can store the value which can change in future with multiple values. And, you can loop into that system property instead of hard coding it.

 

You can refer below post to check how to use system property:

https://www.servicenow.com/community/developer-forum/how-to-get-the-key-and-value-from-the-system-pr...

 

Thanks,

Prashant.