Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13498

$ifNull not working as expected

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: 3.6.6
    • Component/s: manual
    • Labels:
    • Environment:
      Development

      Description

      'ifNull' operator in aggregate is giving us two outcomes for a boolean sub value. Our query works for a sub object key which may not exist or may have a Boolean value.

      When the key does not exist the project pipeline works fine ,but when the key has a Boolean value we get two different outcomes.

      For a false value the query assigns a value which is different when the value is true based on what we give in the project if else condition.

      We were expecting it would give the same value be it true or false.

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            Unassigned Unassigned
            Reporter:
            clifford.pereira@flexiloans.com Clifford Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              1 year, 25 weeks, 1 day ago