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
kfm2012kfm2012 

Filter Cases by Logged in User

I have a custom field on my Cases screen called Rel_Mgr.  I'm trying to create a filter on Cases where Rel_Mgr equals <the currently logged in user>.  I've tried setting Rel_Mgr equal $User.Id but it gives me a  'Error: The value $User.Id is only allowed in Mobile Configuration Filters.'  In the filter screens, how do you compare a field to the logged in user?

thanks

 

Best Answer chosen by Admin (Salesforce Developers) 
Steve :-/Steve :-/

Are you tryting to do this using Filter Criteria?  I don't think that's possbile.  You might want to try creating a custom Formula field on the object that evaluates the $User.ID like this ->

http://success.salesforce.com/questionDetail?qid=a1X30000000IPjtEAG

All Answers

Steve :-/Steve :-/

Are you tryting to do this using Filter Criteria?  I don't think that's possbile.  You might want to try creating a custom Formula field on the object that evaluates the $User.ID like this ->

http://success.salesforce.com/questionDetail?qid=a1X30000000IPjtEAG

This was selected as the best answer
kfm2012kfm2012

works...thx!

Steve :-/Steve :-/

No problem, you owe me a beer! 

 

and I drink THESE!  http://beeradvocate.com/beer/profile/863/7971