Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1643

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

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

            [AUTO-1643] Add support for 'AND' and 'OR' conditional logic smart value for more than two conditions

            No work has yet been logged on this issue.

              Unassigned Unassigned
              d20fb9d86b65 Jun Itokawa
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: