Migrate a Legacy Decision Table with the AI Assistant in DecisionRules
This DecisionRules demonstration migrates a legacy loan grading table from an Excel export using the AI Assistant and verifies it in the Test Bench.
Moving business rules off a traditional rule engine usually means a long list of decision tables. In this video, Ondřej Brejla (Business Analyst at DecisionRules) migrates one of them, a 12-row loan grading table, with one Excel export and one prompt to the DecisionRules AI Assistant, and then tests the result in the Test Bench.
You do not migrate alone. Our Professional Services team plans the migration, the AI Assistant does the transcription, and every table is verified against your existing test cases. The video shows what that takes for a single table.
Chapters
- 0:00 Migrating a legacy decision table
- 0:19 Meet the AI Assistant
- 0:30 The 12-row specification
- 0:42 Attach Excel and import the rule
- 0:54 Two ways to test
- 1:13 Run and inspect matched rows
- 1:26 Beyond Excel
What you'll see
- A loan grading table from a traditional rule engine: yearly repayment and corporate score in, grade and message out
- Export it as an Excel file and attach it to the AI Assistant as context
- The AI Assistant generates the decision table, and one click imports it into your space
- Two ways to test it: write your own data in the Test Bench, or ask the AI Assistant for test data
- Apply the generated input (yearly repayment 5,000, corporate score 950) and run it
- See which row fires and which conditions match, and why the next row does not
- Not just Excel: Word specs, PDFs, CSVs and XML exports work as input too
Frequently asked questions
Which file types can I upload to the AI Assistant?
The AI Assistant supports PDF, TXT, MD, CSV, XLSX, DOCX, XML, and selected IBM ODM file formats. Each file must be up to 10 MB. Availability of file attachments depends on the AI model selected in the Assistant.
Can the AI Assistant generate test data for my table?
Yes. Just ask — it knows your table's structure and can generate real-world inputs, inputs designed to match specific rows, inputs targeting edge cases or boundary conditions, or inputs that intentionally don't match any row to expose gaps in your coverage. You can also describe what you want: give me an input that matches row 3 or generate a case that hits the ELSE row.
Learn more in our documentation.
Can I roll back to a previous version of my Decision Table?
Yes — and there are two types of history. Rule history is auto-saved every time you click Save, capturing your changes in the rule's edit history. You can browse and restore any of these auto-saves at any time. Versions are manual snapshots you create explicitly when making bigger changes. You can name these versions, compare them, and roll back to any previous version with one click.
Both types of history give you full safety and control over your data.
See our documentation on Versioning and Rule History for details.
How do I know the migrated table behaves the same?
Verify it. Run it in the Test Bench with your existing test cases, or let the AI Assistant generate test data and test suites for you. Every generated table should be tested before it goes live.