grule-rule-engine icon indicating copy to clipboard operation
grule-rule-engine copied to clipboard

How to convert this drl to grl?

Open 5idu opened this issue 2 years ago • 1 comments

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

5idu avatar Jul 10 '23 07:07 5idu

seems like not support traversing array

kakaZhou719 avatar Sep 22 '23 01:09 kakaZhou719