You need to sign in to do that
Don't have an account?
Jennifer Harris
Workflow Rule Triggers Two Different Rules
I have 2 time based workflows that should send an email anytime a Contract Expiration Date is 90 days away. One workflow rule is based on sending to an email to the East and one is based on sending an email to the West. I cannot figure out why they are both triggering an email when I create a new record. Can you spot what is triggering both to fire off in my workflows?
Workflow 1 West
AND(NOT( ISBLANK( Contract_Exp_Date__c)),
OR(
AND(AccountId__r.Muni_Team_Account__c = True, AccountId__r.RegionCode__c = "W"),
AND(AccountId__r.Owner.ProfileId = "00e30000000jMWI", AccountId__r.RecordType.DeveloperName = "Prospect", CONTAINS(AccountId__r.Owner.User_Region__c, "WESTERN"))))
Workflow 2 East
AND(NOT( ISBLANK( Contract_Exp_Date__c)),
OR(
AND(AccountId__r.Muni_Team_Account__c = True, AccountId__r.RegionCode__c = "E"),
AND( AccountId__r.Owner.ProfileId = "00e30000000jMWI", AccountId__r.RecordType.DeveloperName = "Prospect"), CONTAINS(AccountId__r.Owner.User_Region__c, "EASTERN")))
Additional information- the Evaluation Criteria: Evaluate the rule when a record is created, and any time it’s edited to subsequently meet criteria
I appreciate any help that is given!
Workflow 1 West
AND(NOT( ISBLANK( Contract_Exp_Date__c)),
OR(
AND(AccountId__r.Muni_Team_Account__c = True, AccountId__r.RegionCode__c = "W"),
AND(AccountId__r.Owner.ProfileId = "00e30000000jMWI", AccountId__r.RecordType.DeveloperName = "Prospect", CONTAINS(AccountId__r.Owner.User_Region__c, "WESTERN"))))
Workflow 2 East
AND(NOT( ISBLANK( Contract_Exp_Date__c)),
OR(
AND(AccountId__r.Muni_Team_Account__c = True, AccountId__r.RegionCode__c = "E"),
AND( AccountId__r.Owner.ProfileId = "00e30000000jMWI", AccountId__r.RecordType.DeveloperName = "Prospect"), CONTAINS(AccountId__r.Owner.User_Region__c, "EASTERN")))
Additional information- the Evaluation Criteria: Evaluate the rule when a record is created, and any time it’s edited to subsequently meet criteria
I appreciate any help that is given!
After a bit of formatting, the original formula for East is
Given what you said in your response, I think it should be (East):
(West)
I think you split up the so that it didn't include the condition that the User Region also had to be specific... In that case, both workflows seem to fire because the above statement is true and the OR returns a true value (it disregards the Region...)
Lemme know if this works...
All Answers
Maybe rewriting the forumla to something like (for the Eastern case - though I didn't try this...)
For Eastern (or Western just input W and Western for that matter) should read:
The Contract Exp Date is not blank
AND
(The Muni Team Account box is checked AND the Region = W
OR
The Profile = Muni Specialist AND the Record Type = Prospect AND the Account Owner’s User Region contains Western)
After a bit of formatting, the original formula for East is
Given what you said in your response, I think it should be (East):
(West)
I think you split up the so that it didn't include the condition that the User Region also had to be specific... In that case, both workflows seem to fire because the above statement is true and the OR returns a true value (it disregards the Region...)
Lemme know if this works...
Jennifer