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
Amit Kr SinghAmit Kr Singh 

case escalation rules in salesforce if created by user profile is QA, Apps then the case should not escalate

Hi in my current scenario case Escalation rule is:-
I want to add one condition if created by user profile equal to QA or Apps then case no need to Escalate but if other then QA, APPS any one create case then it needs to escalate.  So help me how to get this function
my code is below:- 

AND( 
Account.Primary_Project_Manager__r.Manager.Alias = "bgeor", 
$RecordType.Name = "Professional Services", 
Account.Arcot_Internal__c =False, 
NOT( ISPICKVAL(Type, "Duplicate")),NOT( ISPICKVAL(Type, "SOW Request")), 
NOT( ISPICKVAL(Status, "Closed")), NOT( ISPICKVAL(Status, "Duplicate")), NOT( ISPICKVAL(Status, "On Hold")), 
TODAY() >= Expected_Reponse_Date__c)



Thanks,
Amit Kr SinghAmit Kr Singh
Hi Amit Thanks, for replying me.

but I want to write escalation rule on basic of CreatedBy user. and that user should not have from QA and Apps profile.
so please tell how I will get this   

Thanks
Amit Singh 1Amit Singh 1
Use below
AND( 
Account.Primary_Project_Manager__r.Manager.Alias = "bgeor", 
$RecordType.Name = "Professional Services", 
Account.Arcot_Internal__c =False, 
NOT( ISPICKVAL(Type, "Duplicate")),NOT( ISPICKVAL(Type, "SOW Request")), 
NOT( ISPICKVAL(Status, "Closed")), NOT( ISPICKVAL(Status, "Duplicate")), NOT( ISPICKVAL(Status, "On Hold")), 
TODAY() >= Expected_Reponse_Date__c,CreatedBy.Profile.Name!='QA',CreatedBy.Profile.Name!='APPS')

Thanks
Amit Kr SinghAmit Kr Singh
Hi Amit,

This code i already tried before  when i am using CreatedBy.Profile.Name != QA   then i am getting long Error.



Error after change createdBy
Thanks
Amit Kr SinghAmit Kr Singh

@Amit Singh 1
please help me how to resolve this issue.

thanks,