Conditions: Case:/Root/Income/BasicSalary is less than or equal to 75.000 Actions: Case:/Root/IncomeStatus = approved
CONDITION EVALUATION TEST (MATCH) 6/28/2004 12:29:10 PM Rule Engine Instance Identifier: 29fea928-... Ruleset Name: Simple Test Expression: TypedXmlDocument: Case:/Root/Income.BasicSalary Left Operand Value: 800 Right Operand Value: 75.000 Test Result: False
Conditions: Int32.Parse(Case:/Root/Income/BasicSalary) is less than or equal to 75.000 Actions: Case:/Root/IncomeStatus = approved
Conditions: Int32.Parse(Case:/Root/Income/BasicSalary) is less than or equal to 75000 Actions: Case:/Root/IncomeStatus = approved
namespace MarcoSoft.Utils { /// /// Summary description for Converter /// public class Converter: Microsoft.RuleEngine.IFactCreator { public Converter() { } public int stringToInt32(string value){ return Int32.Parse(value); } #region IFactCreator Members public object[] CreateFacts(RuleSetInfo ruleSetInfo) { return new object[]{new Converter()}; } public Type[] GetFactTypes(RuleSetInfo ruleSetInfo) { Type converterType = this.GetType(); return new Type[]{converterType}; } #endregion } }
Conditions: Converter.stringToInt32(Case:/Root/Income/BasicSalary) is less than or equal to 75000 ...
CONDITION EVALUATION TEST (MATCH) 6/28/2004 5:22:18 PM Rule Engine Instance Identifier: 52c89cd5-... Ruleset Name: Simple Test Expression: MarcoSoft.Utils.Converter.stringToInt32 Left Operand Value: 800 Right Operand Value: 75000 Test Result: True