0 Replies Latest reply on Oct 10, 2006 2:41 AM by chandu_jboss

    Drolls

    chandu_jboss

      hi,

      I am new to the Jboss Rules Engine,
      I have created one xl sheet with one rule

      RuleSet Business Rules
      Import com.triaton.tkafuh.webapp.se.EntgeltumwandlungSE,com.triaton.tkdirws.ws.model.DoTKPerson,com.triaton.tkdirws.ws.model.DoTKResult
      Sequential true
      Variables DoTKResult doTKR
      Notes Sample Table

      RuleTable
      CONDITION CONDITION ACTION
      doTKP:DoTKPerson doTKR
      tkfkz6!=$1 tkpstatus!=$1 setResult("$param")
      tkfkz6 tkpstatus Result
      150000 20 FALSE



      * tkfkz6 and tkpstatus are the two member variables of the DoTKPerson
      * If tkfkz6 != 150000 and tkpstatus != 20 then I need to set the reult in to the 'result' property of the DoTKResult

      can any body help me how to do this in the rules Excel sheet