ibm-odm

How to define a function for use in an ODM decision table w/o changing the XOM?

只谈情不闲聊 提交于 2020-01-01 15:41:35
问题 I'm using ODM 8.5 (the JRules successor). In my Java domain, I have a three-character String field that represents a number, "000" to "999". I'd like to have a decision table that represents logic like: if field is between "000" and "012" then set the result to "tiny" if field is between "013" and "060" then set the result to "less tiny" ... IBM's documentation on defining columns states - "A condition statement is an incomplete BAL predicate expression...". Is there anything in the BAL that

how to create an object (call the constructor) from a BOM member on a decision table action column?

守給你的承諾、 提交于 2019-12-12 02:04:59
问题 I have 2 arraylist of type TYPE1 (let's say it) as ruleset parameters on my Rule Project. One for IN another one for OUT. On my ruleflow I have an initial action task that initializes the OUT ruleset parameter. Since we have an arrayList as input I will have to "iterate" over it which I know how to do it. My problem comes after. In the next task of my ruleflow I have a rule task where I added all my decision tables that have some preconditions. On most decision tables more than one rule can

How to define a function for use in an ODM decision table w/o changing the XOM?

一个人想着一个人 提交于 2019-12-04 13:01:30
I'm using ODM 8.5 (the JRules successor). In my Java domain, I have a three-character String field that represents a number, "000" to "999". I'd like to have a decision table that represents logic like: if field is between "000" and "012" then set the result to "tiny" if field is between "013" and "060" then set the result to "less tiny" ... IBM's documentation on defining columns states - "A condition statement is an incomplete BAL predicate expression...". Is there anything in the BAL that does the kind of String comparison I want to do? If not, is it possible to call a function defined in