1
0
-1
How to we condition if the value of the field is empty in Exalte configuration. For example: If ("Inspection Reason" is empty) { then do }
    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Rakesh,


      For your second part of the question:


      And also one more, If( "Inspection Reason" in ("Other Inspection","PPAP Inspection")) { Then}


      That would look like the following:


      def inspectionReason = replica.customFields."Inspection Reason"?.value
      if (inspectionReason == "Other Inspection" || inspectionReason == "PPAP Inspection") {
      	//Then do
      }


      Best regards,


      André


        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi!

        Normally you want to check if you are checking something from the other side, you might do something like:


        if(replica.customFields."Inspection Reason"?.value == null){
          //Then do
        }
        //or equivalent:
        if(!replica.customFields."Inspection Reason"?.value){
          //Then do
        }



          CommentAdd your comment...