Is it possible to use OutputExpression in OnFailure Action? #331
-
|
Is it possible to use an OutputExpression for OnFailure condition when using post rule execution actions? When I try to use below example I am getting a failure condition without any result. Simple example below. I know I might be able to achieve the result using a chained rule but I am specifically wondering if we can use OutputExpressions in OnFailure action. Would cut down on having to write separate rules for failure conditions that need expression evaluation. Rule: Input: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
There is no separate implementation for RulesEngine/src/RulesEngine/RulesEngine.cs Lines 130 to 155 in 4a2b345 |
Beta Was this translation helpful? Give feedback.
There is no separate implementation for
onfailure. If it works foronsuccessit should work foronfailureIf you can share a working sample on https://dotnetfiddle.net/ i could have a look
RulesEngine/src/RulesEngine/RulesEngine.cs
Lines 130 to 155 in 4a2b345