You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've created facts with some custom type in (my example each fact have the Employee type) and created rules for it. then I'm using those facts to pass as a RuleParameter for executing rules and get mached rules, but after execution I'm not getting any mached rules. Here you can check the example - RulesEngine custom type example when I'm converting my facts to ExpandoObject , I'm getting rule execution result properly. I want to now is it possible to pass object of custom type as a rule parameter or I should always convert it to ExpandoObject ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I've created facts with some custom type in (my example each fact have the Employee type) and created rules for it. then I'm using those facts to pass as a RuleParameter for executing rules and get mached rules, but after execution I'm not getting any mached rules. Here you can check the example - RulesEngine custom type example when I'm converting my facts to ExpandoObject , I'm getting rule execution result properly. I want to now is it possible to pass object of custom type as a rule parameter or I should always convert it to ExpandoObject ?
Best Regards,
Lusine
Beta Was this translation helpful? Give feedback.
All reactions