-2

Eg:

Rule1: Check if Person's Country is 'United States'

Rule2: Check if Person's State is 'Washington, D.C.'

Now Rule3 is combination of Rule1 and Rule2

Rule3: if Rule1 then Rule2

here Rule2 is an action that will be executed if Rule1 is true

I know I can achieve this problem by writing If Rule1 and Rule2 then execute Some Action Method, but the main intention behind this question is: I want to execute another rule as an Action. How can I achieve it using CodeEffects?

halfer
  • 19,824
  • 17
  • 99
  • 186
Allu Balu
  • 9
  • 1

2 Answers2

0

The use of a rule as rule action is not supported because this could lead to logical issues and hard-to-detect circular dependencies.

Use either Loop or Ruleset mode. Details can be found here

Alex
  • 566
  • 1
  • 6
  • 14
-1

It should be noted that many other business rule products support the feature of inference and chaining of rules. This is often implemented and talked about as backward chaining.