Abbas Cyclewala

Results 59 comments of Abbas Cyclewala

I will share my proposal for data source providers: - Currently `RulesCache` stores workflows as a concurrent dictionary. - First we would need to remove workflow cache out along with...

> Now, would it still load all the rules at once, or would it load them as needed? For starters, i would prefer on demand loading, assuming users can host...

Hi @aditya4903 are you using a strong typed object or a dynamic object? and in case you are using a strong typed object , can u share the contract? To...

JsonConvert converts object to JObject by default . If you want to get expandoObject, you might want to try using ExpandoObjectConvertor. e.g. https://github.com/microsoft/RulesEngine/blob/77750ae0b4eeddacedd4f45e7719545e0ea9a10f/test/RulesEngine.UnitTest/BusinessRuleEngineTest.cs#L816-L821 Can you try this and let me...

Hi @MehranDHN based on your question, are you looking exclusive rules? something Like `if... else if` ? Do you need it to be that only one rule succeeds in any...

It looks like something to do with 'Type' as some reserved keyword. I will check on it and get back to you. Meanwhile can you try doing `event.Type.ToString() == "Basic"`...

@carbonete we currently don't have any visual editor but we provide [json-schema](https://raw.githubusercontent.com/microsoft/RulesEngine/master/schema/workflowRules-schema.json) Coupled with projects like [json-editor](https://github.com/json-editor/json-editor) maybe we can create a visual editor like this - [demo](https://json-editor.github.io/json-editor/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgAJEtXqUIZVCgQUAelMda8ALQ61ZAHTSA5qYAmUskSjWADAHZTO1kAYgU3KiIYeBhYBGQ0EAAZMAw5AAUyTzoNEFgobCpCFLTsTOyFCClIKilYGlyAOTIGXKhBCCL9RCgpaOcQAF82AFEADyqaRDh4No6uxV7+oeGQKSoARxEYdbdUAG0QZtbRifXEaYQQAF1VgCURQrbYp/0Hp7YqmrqYBsT3qjHLqgdqdQg9PrwAarADynU8UGkuSo8BEORQhwAgvA9mxsW5MdhaAoYVISVIRkSirdRlJqlIALJTMjOYF5ebgpZQoa0+kAFQ5iRRaIOIAA6lkYtzeUiaSAAMoiDAYKYjABuKPEiVBCwhy3ujz+IMFICynkECliagSoDI8EEMKIBy06yd+hC7ki0ViM0QpiSVC8AJ5LsihA9ESiMTiSFMwcGt0Gq3WWx2VD2GJAAKBJPhZERZLYAOQ1zYOsIYE43HEqwDQcNzwKCzrRAABMGyybK1weAoU9tdqLsy0iqdJhcZgoAeNx5d4AKwaWQF94fUbVnDTntSa9dzVjPznO5mDulzoUXDQepjMF2zhejDkkWng3GQrxOrnKRnTpEyLiy2XLU9IXPEBv35QVQHvUUJSkKUBhlMk5UVZVVQ1eAtWNE9FhAlYk0+apV1+dcxWkABrAAxbAwAoLcsN1M8eQ3Qp1yA006SES0oGtXI7QdN19lDN0QAjL1o19f1AyIDtl0I2o11yEoMiyFpWJNM1OLYK06HXTRXXDT0ox9eJ/VSZSKiTfChIMyNvRjP0ZJXeTiMUsyyhUnTjwWDSLS07jPMSPSw3dQy7IkpT3IsyzE2TTYB3TGDyKomicwvFibk7bDu2rJjEGUGjeFqekEhAaJuM8HhJzLXRdU6Hh1j7OK0zcXg8EEXhIzIR4tSIORECoNg3BgRAIAEdr+2a3gcAtFBeqpNg8oKyA+GiVBehEAaQEkXgyDcIaYzkXgnJ+P51s2sgODIMZUDm/rBuGsg8EKQr9t4SwrhQM77sQR7nqwbABAgfqbr6zahp+p6qCOuSToSW6wYeyGdo49rdozeHvt+qGfN4dZpAiMlZtBzGkZxiJCm4kH5pAFEseR81eCwCAZox9iGawDDqiJXhEQgKm7pAcG6bJqgKexgHcZouHicFxHnpFsX+DIHpJYofmqCTIA==) Let me...

HI @carbonete . Had a look on it, did not find a way to extract it. We are looking into extending the current rules json. So we will revisit this...

@reveation-labs we still are unable to prioritize it. Will update on this thread once we have a plan

@sswapniljadhav Are you looking for referencing Rules into another rule or are you looking at referencing output of Rules within another rule?