Skip to main content
Donne Kerestic 님이 #Data Management에 질문했습니다
I am trying to create a rule that will define a lead status based on the age of the lead (hours).

 

I only want the status to be set for leads with a status other than "New".

 

AND(NOT(ISPICKVAL(Status, "New")),

 

IF(AND(Age_of_Lead_Hours__c >=0,Age_of_Lead_Hours__c <7),"GREEN",

 

IF(AND(Age_of_Lead_Hours__c >6,Age_of_Lead_Hours__c <13),"YELLOW",

 

IF(AND(Age_of_Lead_Hours__c >12,Age_of_Lead_Hours__c <25),"ORANGE",

 

IF(Age_of_Lead_Hours__c >24,"RED","ERROR")))))
답변 3개
  1. 2013년 6월 21일 오후 1:20

    IF(AND(NOT(ISPICKVAL(Status, "New")),Age_of_Lead_Hours__c >=0,Age_of_Lead_Hours__c <7),"GREEN",

     

     

    IF(AND(NOT(ISPICKVAL(Status, "New")),Age_of_Lead_Hours__c >6,Age_of_Lead_Hours__c <13),"YELLOW",

     

     

    IF(AND(NOT(ISPICKVAL(Status, "New")),Age_of_Lead_Hours__c >12,Age_of_Lead_Hours__c <25),"ORANGE",

     

     

    IF(AND(NOT(ISPICKVAL(Status, "New")),Age_of_Lead_Hours__c >24),"RED","ERROR"))))

     

0/9000