• Gabriela Kaźmieruk
  • NEWBIE
  • 10 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Hi,

current formula has 5 405 compiled size, as we know the limit is 5 000.
Do you have any idea how to reduce it?

if(OR(AND(ClientBasket__c = "B",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 1"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 2"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Account Manager"), ISPICKVAL(Owner.FLSA_Job_Title__c,"Key Account Manager")))=true,
AND(OR(ClientBasket__c = "C",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Senior Key Account Manager"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Expert"))))),1,

if(OR(AND(ClientBasket__c="A",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 1"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 2"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Account Manager")=true)),
AND(ClientBasket__c = "B",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Senior Key Account Manager"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Expert")))),2,

if(AND(ClientBasket__c = "A",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Key Account Manager"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Senior Key Account Manager")))=true,3,

if(AND(ClientBasket__c = "A",ISPICKVAL(Owner.FLSA_Job_Title__c,"Expert"))=true,4,

0))))
On our Sandbox (with Summer '20 release) an activity timeline component error occurs during account edting. So any changes can not be saved. Below you can find the screen with the error message. What can be the reason of it? What are the possibilities to solve it?

User-added image
Hi,

current formula has 5 405 compiled size, as we know the limit is 5 000.
Do you have any idea how to reduce it?

if(OR(AND(ClientBasket__c = "B",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 1"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 2"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Account Manager"), ISPICKVAL(Owner.FLSA_Job_Title__c,"Key Account Manager")))=true,
AND(OR(ClientBasket__c = "C",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Senior Key Account Manager"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Expert"))))),1,

if(OR(AND(ClientBasket__c="A",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 1"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Junior Account Manager 2"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Account Manager")=true)),
AND(ClientBasket__c = "B",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Senior Key Account Manager"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Expert")))),2,

if(AND(ClientBasket__c = "A",
OR(ISPICKVAL(Owner.FLSA_Job_Title__c,"Key Account Manager"),ISPICKVAL(Owner.FLSA_Job_Title__c,"Senior Key Account Manager")))=true,3,

if(AND(ClientBasket__c = "A",ISPICKVAL(Owner.FLSA_Job_Title__c,"Expert"))=true,4,

0))))