Search FlexiRule docs

Recent
Pinned

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

FlexiRule Docs

RuleFlow Settings

Configure global runtime behavior and Rule Builder preferences.

Improve this page

RuleFlow Settings#

RuleFlow Settings controls site-wide FlexiRule behavior and preferences for the visual builder. Open it from the Frappe Desk by searching for RuleFlow Settings. The available fields in your installed version are the source of truth; this page explains the intent of the settings represented in the current RuleFlow Settings DocType.

Runtime and operational settings#

SettingWhat it controlsGuidance
Debug LoggingDetailed execution diagnosticsEnable when investigating a rule; verbose logs can add overhead and volume
Log Retention DaysRetention period for execution logsChoose a period that balances troubleshooting needs and database maintenance
Default Max Execution TimeDefault time limit for rule executionKeep the limit appropriate for the type of work performed
Allow Async ActionsWhether asynchronous actions are permittedEnable only when background processing is configured and appropriate
Excluded DocTypesDocTypes excluded from applicable rule behaviorUse this carefully to prevent unwanted execution on selected types

Rule Builder preferences#

SettingOptions / purpose
Action Configuration ModeChoose Sidebar or Dialog for configuring actions
Open Configuration OnChoose Click, Double Click, or Icon Only according to your workflow
Canvas ThemeSystem, Light, or Dark
Layout DirectionLeft to Right or Top to Bottom
Sidebar PositionLeft or Right when Sidebar mode is selected
Enable Edge InsertionControls the edge-insertion canvas convenience
Require Approval to ActivateAdds an approval requirement to rule activation
Allow Editing Active RulesControls whether active rules may be edited; changing active rules can affect production behavior
  1. Review logging and retention before enabling production rules.
  2. Confirm whether asynchronous actions are needed and that the site’s background workers are operating.
  3. Choose builder preferences that suit the team; these preferences affect editing experience, not the business meaning of the rule.
  4. Decide whether activation approval is appropriate for your change-control process.
  5. Be cautious with Allow Editing Active Rules. For controlled production systems, prefer a review-and-test workflow before changes affect active automation.

Important distinction#

RuleFlow Settings does not replace per-rule configuration. A rule still has its own trigger type, target DocType where applicable, trigger event, execution mode, timeout, permissions, actions, and activation state. Review both the global settings and the individual Rule when troubleshooting unexpected behavior.

Last updated Oct 6, 2026