Add support for 'AND' and 'OR' conditional logic smart value for more than two conditions

XMLWordPrintable

      Issue Summary

      According to the article conditional-logic/#or, it is currently possible to check for two conditions using the 'OR' or 'AND' condition logic, however, it is not possible to check for more than two conditions. 

      Steps to Reproduce

      1. Create an Automation rule
      2. Specify below conditional smart value
        {{#if(or(smartValue1, smartValue2, smartValue3))}} returned value {{/}} 
      1. Check audit log

      Expected Results

      If any one of the smartValue1, or smartValue2 or smartValue3 return true, it should return true.

      Actual Results

      The evaluation process is skipped and nothing is done.

      Workaround

      1. Specify like below:

      {{#if(smartValue1)}} returned value {{/}} 
      {{#if(smartValue2)}} returned value {{/}} 
      {{#if(smartValue3)}} returned value {{/}} 
      {{#if(smartValue4)}} returned value {{/}} 
      


      2. Use if/else conditional block

            Assignee:
            Unassigned
            Reporter:
            Jun Itokawa
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: