Deepa Rane

Calling Decision table inside If-then construct

Discussion created by Deepa Rane on Mar 8, 2010
Latest reply on Mar 11, 2010 by Deepa Rane

Hi,

 

I am facing issues while calling decision table from if().. code looks like this ->

if(Call DecisionTableInstance(param1,param2)) then {...} this decision table returns boolean.

It compiles fine but gives runtime error as ->

"com.blazesoft.engines.rules.NdEvaluationException: Evaluation error
Ruleset 'Code_StartsWith_DecisionTableTemplate_Instance' is being indirectly invoked from the conditions of a rule. while evaluating Code_StartsWith_DecisionTableTemplate_Instance(codeName, codeValue) "

 

if I call same decision table with if(true) then { call DTable(...) } then it runs fine. But my requirement is to give it in condition block. 

 

Can anyone help me out for this issue?

 

Many Thanks,

Saee

Outcomes