Conditional Logic: What is the difference between ANY and ALL?

  • Profile Image
    michellemaiale
    Asked on August 22, 2018 at 01:13 AM

    Hi There,

    In regards to the below URL the rules what is the difference between ANY and ALL.


    Thank you 

    Ann-Marie

    +61415539928

  • Profile Image
    BJoanna
    Answered on August 22, 2018 at 04:41 AM

    When a condition has multiple IF rules, ANY or ALL are used to determinate how many IF rules have to be true to trigger that condition. 

    ANY - means that any of the IF rules have to be true to trigger a condition

    ALL - means that all IF rules have to be true to trigger a condition

    1534926547cond1.PNG

    In your example, if a date after "today +2", is selected in the field Visiting Date, the first condition will be true and Munu Selection email will be sent.

    Today is August 22, so "today +2" is August 24.

    Btw, you can omit the first if rule from this condition.

    If Visiting Date is "today" - August 22 or "today +1" - August 23, the second condition will be true and Last Minute email will be sent. 

    If any day before today is entered none of the conditions will be true and email will not be sent. 

    More about conditional logic, you can find inside of this guide:

    Smart Forms Using Conditional Logic