Search FlexiRule docs

Recent
Pinned

Press Esc to close. Use arrow keys and Enter inside results. Searches are remembered locally.

FlexiRule Docs

Testing & Debugging

Safely simulate rule execution and inspect execution paths, results, and live logs.

Improve this page

Testing & Debugging#

FlexiRule provides visual testing and auditing tools so you can verify a rule before production and inspect live execution afterward.

Debug simulation#

The Debug tool simulates rule execution against selected document records without modifying the database.

  1. Open the Rule Builder.
  2. Click Debug in the top action bar.
  3. Select a test document and any supported simulation context.
  4. Click Run Test.
  5. Inspect the execution path and step results.

Rule Builder canvas showing debug execution run dialog
Rule Builder canvas showing debug execution run dialog

Debug Run dialog showing JSON test context
Debug Run dialog showing JSON test context

Run Debug Test control
Run Debug Test control

Inspect results#

The debugger shows which nodes executed, which branches were skipped, and where errors occurred. Select a step to inspect its inputs, outputs, and execution details.

Debug View Return Result
Debug View Return Result

Video: Inspecting the rule execution path#

Watch how the debugger highlights the execution path and shows the result of each rule step.

Production execution logs#

Active rules produce Rule Execution Logs for operational inspection. Use execution IDs, rule information, trigger details, status, duration, and step traces to understand what happened.

Debug simulation and live execution are different contexts: testing verifies behavior safely, while live logs describe actual production executions.

Last updated Oct 14, 2026