function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tasia Demuth 4Tasia Demuth 4 

enhanced lightning grid how do I set the filter of current user equal to a lookup field

Hi all, 

Does anyone know of a way to list in an enhanced lightning grid cases that are both owned by the current user or cases that the current user is a secondary owner on? 

When I use this criteria for just looking at the assigned agent is the current user, my enhanced lightning grid works. But, if I go to add criteria showing that the secondary owner (a lookup field) is the current user then the sortable grid disappears. 

RecordType.Name IN('Ask E Record Type') AND Status NOT IN('Closed') AND Assigned_Agent_is_the_current_user__c = True

Any help would be greatly appreciated