microsoft / RulesEngine

A Json based Rules Engine with extensive Dynamic expression support
https://microsoft.github.io/RulesEngine/
MIT License
3.6k stars 543 forks source link

For loop in rule engine #506

Closed akshay2988 closed 12 months ago

akshay2988 commented 1 year ago

I have scenario in which I need to traverse through multiple records in excel sheet against one condition. So is it possible to use for loop any how in MS rule engine rule expression ? If no, what could be possible alternate solution?

abbasc52 commented 12 months ago

@akshay2988 , you could try using Linq operation in condition. RulesEngine also offers you to inject custom class and add complex logic in it. Please refer - https://github.com/microsoft/RulesEngine/wiki/Getting-Started#resettings