[rules-users] simple Doubt..usage of modify

abhinay_agarwal abhinay_agarwal at infosys.com
Thu Jul 12 05:33:21 EDT 2012


what is unclear in my mind is, if we can use something like this :

when
       $c: Customer()
then
      $c.setName("abhinay")


then y do we use:

when
       $c: Customer()
then
      modify($c)
      {
            setName("abhinay")
       }

I simply dont get the difference !!

--
View this message in context: http://drools.46999.n3.nabble.com/simple-Doubt-usage-of-modify-tp4018614p4018629.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list