hyperjumptech/grule-rule-engine

How to convert this drl to grl?

5idu opened this issue · 1 comments

5idu commented

The existing drl rules are as follows, how can I convert them into grl rules:

rule "xxx"
	salience 1000
	no-loop true
	when
		o:Order(fromId == "F01")
		p:Item(brandId in ("B01"), itemSkuCode in ("1033623","1033629","201038","201035","1034540")) from o.itemSkus
	then
		p.setSupplyType("S");
		p.setProviderId("P);
end

seems like not support traversing array