File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Nuget package: [](https://w
6161### Initialise RulesEngine with the workflow:
6262``` c#
6363var workflowRules = // Get list of workflow rules declared in the json
64- var re = new RulesEngine .RulesEngine (workflowRules , null );
64+ var re = new RulesEngine .RulesEngine (workflowRules );
6565```
6666
6767### Execute the workflow rules with input:
@@ -102,7 +102,7 @@ It is possible to use a custom name in rules by passing input as `RuleParameter`
102102Now we can call rulesEngine with the custom names:
103103``` c#
104104var workflowRules = // Get list of workflow rules declared in the json
105- var re = new RulesEngine .RulesEngine (workflowRules , null );
105+ var re = new RulesEngine .RulesEngine (workflowRules );
106106
107107
108108// Declare input1,input2,input3
@@ -444,7 +444,7 @@ Actions can have async code as well
444444 }
445445 };
446446
447- var re = new RulesEngine (workflowRules ,logger , reSettings );
447+ var re = new RulesEngine (workflowRules ,reSettings );
448448```
4494493. You can now use the name you registered in the Rules json in success or failure actions
450450```jsonc
You can’t perform that action at this time.
0 commit comments