Skip to main content
Erin Goode a posé une question dans #Automation

Can someone help me work through this - trying to set up an automated process on the Case object that sends out an Email Alert when the Status is marked Closed EXCEPT in cases where the Type is marked Spam or Test. 

The Email Alert works fine, the problem is, I get the Email Alert every time I close a case, even when the Type is marked Spam or Test. 

All help is appreciated!

 

#Process Builder  #Service Cloud  #Automation

Why is my Custom Logic not working?

7 réponses
  1. 27 sept. 2021, 23:28

    @Erin Goode the problem with your condition

     

    1 AND(2 OR 3)

     

    when you have type Spam and case status closed - 

     

    Condition 1 = true and ( condition 2 = false Or condition 3 = true)

     

    the output of this criteria is true. and you should see the condition executed generating the email

     

    Now the suggested change 1 AND ( 2 AND 3)

     

    Applying the same example type Spam and case status closed

    Condition 1 = true and ( condition 2 = false AND condition 3 = true)

     

    the output of this criteria is false. email shouldn't be generated

     

    Let us apply this logic for another scenario: Case type - something  and status = closed

     

    condition 1 = true and (condition 2 = true AND Condition 3 = true)

     

    now your action will execute. I replicated your scenario and it worked for me 

     

    the problem with your condition 1 AND(2 OR 3) when you have type Spam and case status closed - Condition 1 = true and ( condition 2 = false Or condition 3 = true) the output of this criteria is true.

0/9000