Example #1
0
        private static void RunByExcelDecisionTable()
        {
            Console.WriteLine("Decision table using EXCEL...");
            // Loading decision table from excel document
            IRuntimeEngine engine = RuntimeEngine.FromSpreadSheet(File.OpenRead("AgeTitle.xlsx"), "Sheet1");

            // set events to be captured
            engine.EnableFullLog = true;

            // executing the decision table
            ExecuteDecisionTable(engine);
        }