Hello, I am trying create a few constraints (XOR). I have a .DRL file with 3 agenda-group. I am also using a custom evaluator and few global static functions.
Mine is a Stateless Session with bunch of records (Caner records) 1. How do I refer to the current fact? - Can I do something like this? *$cancerRecord : CancerRecord ()* 2. How do I invoke external functions? Can I do something like *inlist* ($cancerRecord.PRIMARY_SITE, "C500, C501, C502, C503, C504, C505, C506, C508, C509") *containsAny* (kcontext, $cancerRecord, "505101,505102,505103,505104,505105,505106,505107,505108") *not inlist *($cancerRecord.PRIMARY_SITE, "C500, C501, C502, C503, C504, C505, C506, C508, C509") *not containsAny *(kcontext, $cancerRecord, "505101,505102,505103,505104,505105,505106,505107,505108") *Please note that inlist and containsAny are valid functions that work. But I am not able to import tham within the constrains.* I not able to locate any documentation in this. Can some one point me to the right documentation. I have been stuck on this for couple of days. Any help is appreciated. Thanks in advance! Matt'm -- View this message in context: http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users