0 Replies Latest reply on Oct 10, 2014 1:11 PM by Mike schwery

    using exist keyword on a string variable

    Mike schwery Novice

      I've got a class like the following:

      package com.test;

       

      import java.io.Serializable;

       

      public class Feature {

         

         

          private String feature;

         

          public String getFeature(){

             return feature;       

          }

         

          public void setFeature(String feature){

              this.feature = feature;

          }

       

      }

       

      and a rule like the following:

      rule "Generate TAS.USERCALLINGLINEIDDELIVERYBLOCKINGMODIFYREQUEST"

      agenda-group "aam-tas-default"

      when

              ManagedProvisioningRequest(inTypeCode.typeCode in ("CCD","CED"))

              (

                  exists Feature( feature == "CIDRES" )

             

              )   

      then

              insert( "tas");

      end

       

      My setter is being called but my getter is not being called.

      I am using version 5.6

       

      Dos anyone have any suggestions.