Skip to content

Chaining Rules vs. Simple Rules for every Path #418

Answered by abbasc52
squadwuschel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @squadwuschel The initial version of RulesEngine only supported executing all rules in one go.
That approach as you mentioned is a simpler one and is recommended for most users.

Using EvalutateRule and ExecuteActionWorkflowAsync is for advance workflow operations.
It can technically support looping, input overrides, cross workflow execution and much more.

Idea behind EvaluateRule was to incorporate the whole workflow in json based rules, and you only need to look at final result.
Using simple rules will require you to define some logic in code to complete the workflow.

It boils down to your preference, use-case and complexity. Both options are provided and choice is left to the user.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by squadwuschel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants