Hi Matt

so:

"1. How do I refer to the current fact? 
- Can I do something like this? 
$cancerRecord : CancerRecord ()"

The current record where??? If you have multiple CancerRecord(s) each of them will match with that conditional element. If you have a business process with a process variable you should point to that variable instead of using the rules language to filter it. If the CancerRecord is a fact that's the right way to go. 

"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") "

Did you try this:
eval(inlist(.....)) in the RHS?




"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. "

All of this is explained in the drools.org documentation site, I'm pretty sure that the eval is there.



On Wed, Aug 13, 2014 at 4:33 PM, mattmadhavan <mmadhavan@facs.org> wrote:
Anyone out there please?

Thanks
Matt



--
View this message in context: http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640p4030646.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



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -