Add a new value to list collector

Arun_Manoj
Mega Sage

Hi, 

 

How to add new group in the list using script, when the confidential checked auto populate a assignment group , Not using existing OOB group mapping, custom using script

Arun_Manoj_0-1763478410845.png

 

 

2 REPLIES 2

Brian Lancaster
Kilo Patron

What do you mean by not using existing oob group mapping? Are there group not in the sys_user_group table?

Sarthak Kashyap
Mega Sage

Hi @Arun_Manoj ,

 

Please try to create BR on your specific table let's incident or problem, type - Before, updated is check true and add below script 

 

if (current.confidential == true) {
var grpSysId = 'YOUR_GROUP_SYS_ID'; // replace with your desired group sys_id
current.allowed_group = grpSysId; // change backend value as your backend value
}

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak