You need to sign in to do that
Don't have an account?
Combining two WF into one
Hello! I have two WF that trigger the same Email Alert notifying our support team when a new Critical case is created during the weekend and after hours. I now have a 3rd requirement and don't want to increase the noise be introducing a 3rd WF email alert. I'm trying to combine these into a single formula WF:
First WF: Rule Criteria = (Case: Hour CreatedEQUALS0,1,2,3,4,5,17,18,19,20,21,22,23,24) AND (Case: PriorityEQUALSCritical)
2nd WF: Rule Criteria = (Case: Case Creation DayEQUALSSaturday,Sunday) AND (Case: PriorityEQUALSCritical)
3rd WF (new): This new WF will need fire off when a Critical case is created during a Company Holiday:
Here is the formula that I worked up, but it keeps telling me I'm missing a ")" somewhere:
IF(AND(ISPICKVAL(Priority,"Critical"),
OR (Hour_Created__c,"0",
Hour_Created__c,"1",
Hour_Created__c,"2",
Hour_Created__c,"3",
Hour_Created__c,"4",
Hour_Created__c,"5",
Hour_Created__c,"17",
Hour_Created__c,"18",
Hour_Created__c,"19",
Hour_Created__c,"20",
Hour_Created__c,"21",
Hour_Created__c,"22",
Hour_Created__c,"23",
Hour_Created__c,"24"))),True,
IF(AND(ISPICKVAL(Priority,"Critical"),
OR (Case_Creation_Day__c,"Saturday",
Case_Creation_Day__c,"Sunday"))), True,
IF(AND(ISPICKVAL(Priority,"Critical"),
OR (CreatedDate ,"2013,09,2",
CreatedDate ,"2013,11,28",
CreatedDate ,"2013,11,29",
CreatedDate ,"2013,12,24",
CreatedDate ,"2013,12,25",
CreatedDate ,"2014,01,01"))),True,False))
Hi,
Try this formula , I have successfully testesd this in my Developer Org, I believe that it should work in your's. Mark it as a solution if this works correctly or let me know if you face trouble in this again.
Important :
Click on the Star Icon aside if this post provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You