FlexiRule Docs
Setup Troubleshooting
Resolving issues during installation and configuration.
Setup Troubleshooting#
If you encounter issues while installing or configuring FlexiRule, check the following solutions.
1. App Not Found in Desk#
- Problem: You installed the app, but “Rule List” doesn’t appear in the search.
- Solution:
- Run
bench --site [your-site] install-app flexiruleagain. - Run
bench clear-cache. - Ensure you have the
System ManagerorRule Builderrole.
- Run
2. Rule Builder Canvas is Blank#
- Problem: Opening the Rule Builder shows a blank page or a loading spinner that never disappears.
- Solution:
- This is usually due to missing assets. Run
bench build --app flexirule. - Check the browser console (F12) for 404 errors related to
.jsor.cssfiles. - If you are behind a proxy (like Nginx), ensure it is configured to serve static assets correctly.
- This is usually due to missing assets. Run
3. Rules Not Triggering#
- Problem: You created a rule, but nothing happens when you save a document.
- Solution:
- Ensure Enable Rule Execution is checked in RuleFlow Settings.
- Check the individual Rule document to see if it is Enabled.
- Verify that the Trigger Event matches the action you are taking (e.g., use “On Submit” for submitted documents).
4. Permission Errors#
- Problem: Installation fails with permission denied errors.
- Solution: Ensure your bench user has write permissions to the
apps/flexiruledirectory.
Was this page helpful?