3 Replies Latest reply on Sep 21, 2017 6:10 AM by Julian Wigman

    Process decision using Comparison is null not working

    cbrownsword Apprentice

      I'm trying to use a Process decision to check to see if an Incident has a collection item entry it but using the comparison "Is Null" for the latest value doesn't seem to work.  If I put the same criteria in a calculation it works fine.  Am I doing something wrong or is this a limitation to the decision conditions?

       

       

      Below is an example that doesn't work.  I've also tried with different attributes on the collection without luck.

       

      The calculation below seems to work ok so I do have a workaround, but would ideally prefer to use built-in conditions if possible.

       

      import System

      static def GetAttributeValue(Call):

      Value = false

      if Call._Appointment.Latest() == null: Value = true

      return Value

       

       

      NB:  in v 7.8.3.

       

      Thanks,
      Chris.