AnsweredAssumed Answered

Decision Table Instance within Code Template can't work in Rule.Any Alternate??

Question asked by lakhwaniamit9@gmail.com on May 13, 2016
Latest reply on Jun 20, 2016 by Jeremy Chen

Hi Team,

I have one code template like
"(at least <numberVH> Code in theRequest.authRequest.diagnosisCodes satisfy (<decisionTableVH>(it.codeValue)))"
[diagnosisCodes is Code Type and codeValue is one of its property of String type]

so when I place this code template in condition,this gives error "Error: Cannot invoke ruleset 'DecisionTable_Instance' from the conditions of a rule. Only functions and external methods without side-effects are allowed."

So how do i do that if any valueList i can put in rules alternate to Decison table Instance like Business term(or any other list of values) so that user can edit the values.But how do i use that value set  in my rule like i did with decision table.

 

Any Suggestion from your side would be a great Help !!

 

Thanks,

Amit

Outcomes