6 Replies Latest reply on Mar 17, 2018 2:17 AM by John Haddad

    Two Condition in Process Designer

    John Haddad Expert

      Hello everyone ,


      if i want to merge to conditions in one how i can do this


      i want first to check if ( Checkbox ) is ticked and then check if all child are completed


      so i can hide the Completed Actions after the user add the child and this child is closed then he can processed .



      the calculations inside the current condition is :

      import System
      static def GetAttributeValue(Request):
       value = true
       for item in Request.Children:
        child = item.Child
        if (child.Status.IsCompletion == false) and (child.Status.IsEnd == false):
         value = false
       return value


      so how i will merge both in one condition ?