locked
Adding support for variables in RuleEngine

    Question

  • Hi.

    I need a creative suggestion. We're using rules outside of workflows and we need to store values while the ruleset is working it's magic. Storage of values is only important during execution for temporary placement of values. 

    The only solution I came up is a adding Dictionary<string, object> to each class on which the ruleengine is running. But, it's a cumbersome soultion. Each usage must be prefixed with a cast and rulesetdialog always displays full namespace for all type which convolutes rules to the point of frustration. 

    Is there anything that I'm missing here? Basically I want to add facts in it's simplest form.

    Saturday, October 13, 2012 12:02 PM