The CreatorCon Call for Content is officially open! Get started here.

Modifying the GRC Choices list

Mehernosh Amrol
Giga Guru

Hi Community,

 

There are current options in the GRC Choices field which are no longer relevant to the business needs.  I want to remove them from the list so users do not choose these options, but I do not want to impact historical data.  I was hoping to find an "Active" checkbox, but I don't see anything.

 

Anyone able to provide guidance?

 

Thanks.

M.

1 ACCEPTED SOLUTION

RaghavendraN
ServiceNow Employee
ServiceNow Employee

Hey @Mehernosh Amrol ,

 

Currently, this is on our roadmap. However, for your guidance, here is the suggestion:

Create a new field called active on the sn_grc_choice table with a default value of true. Mark unwanted records as false, and update the reference qualifier for the sn_grc_choice dictionary entries to only show records where active = true.

  • If it's an advanced reference qualifier, modify the getGRCChoices method from sn_grc.GRCUtils by adding ^u_active=true to the return value.

  • For a simple reference qualifier, add the condition Active = true.

View solution in original post

2 REPLIES 2

SANDEEP DUTTA
Tera Patron
Tera Patron

Hi @Mehernosh Amrol ,

You cannot make the GRC Choice (sn_grc_choice) Inactive.

To Prevent impacting the historical records, on the Grc Choice table , list View add "Application" column and then Group by Application :

SANDEEPDUTTA_0-1748931632290.png

 

Now, you can check if the choice which doesn't make sense, if that that has been used by any other application.

 

Also, The records which are already existing , it will be impacted if you delete the Choice.

 

What's best is for all the new records, You can try using a Onload Client Script to hide the Choice from the field.

 

 

 

Thanks,
Sandeep Dutta

Please mark the answer correct & Helpful, if i could help you.

RaghavendraN
ServiceNow Employee
ServiceNow Employee

Hey @Mehernosh Amrol ,

 

Currently, this is on our roadmap. However, for your guidance, here is the suggestion:

Create a new field called active on the sn_grc_choice table with a default value of true. Mark unwanted records as false, and update the reference qualifier for the sn_grc_choice dictionary entries to only show records where active = true.

  • If it's an advanced reference qualifier, modify the getGRCChoices method from sn_grc.GRCUtils by adding ^u_active=true to the return value.

  • For a simple reference qualifier, add the condition Active = true.