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

Query Business Rule problem

Community Alums
Not applicable

Hello,

I have a request to make interactions visible only to people who belong to the marked group. To do this, I created a Before Query Business rule without condition on the table Interaction with the following code:

 

condition: !gs.hasRole("admin")
script:
current.addEncodedQuery("assignment_group=javascript:getMyGroups()");

 

The business rule is working fine, when I open the lists the agents can only see the interactions marked for their groups.

However, this business rule is generating a problem in the Workspace. When it is active, the contextual side panel disappears.

Picture with BR Disabled (with At a glance, agent assist and attachment) :

GabrielLisboa1_0-1687336714019.png

 

Photo with BR Enabled:

GabrielLisboa1_1-1687336916209.png

 

Can anyone tell why this is happening and how to get around this problem?

 

 

0 REPLIES 0