Hide incident records for users except assignment group members

lars7
Tera Guru

Hi

I want to hide records where a checkbox is set to true for all users unless they are member of the assigned assignment group

I want to do it with a business rule

1 ACCEPTED SOLUTION

lars7
Tera Guru

Solved the problem by making a before query BR. 

I simply made this script: current.addEncodedQuery("assignment_groupDYNAMICx^OR//FIELD//=false")

I did after doing a type of: 

Apparently using ^NQ in encoded query in a before query BR causes a bug when opening up incidents 

View solution in original post

10 REPLIES 10

Sourabh26
Giga Guru

Hi,

 

You cannot hide records from the BR, you need to configure the ACL on the table to which the records need to be hidden and then in the script field configure the script as per the requirement.

 

Regards,

Sourabh

So i cannot do this with before query business rule? this is not my perception

yes you can go for the before query BR to configure for the same.

Raj_Esh
Kilo Sage
Kilo Sage