0 Replies Latest reply on Apr 27, 2007 11:30 AM by gsniegow

    JBoss Rules - newbee looking for help!

    gsniegow


      OK, so I downloaded the latest version and have been playing with the drl file. I have two simple questions that I can not seem to find answers for...

      1.) My drl has access to the classes I put in working memory. However, what if I want to put 2 classes of the same type? Simply speaking, say I want to compare two people, lets say, to see if the names were the same. How would I do that?

      2.) How do you return something? Let's say in the above example, if the two people have the same name, I want to return a String or something like that. How do I do this?

      Please excuse my ignorance here, I have searched for this answer but I have failed to locate one.

      Thanks!