Problem/Motivation
As Varbase adopts ECA (Event - Condition - Action) for core workflow automation, a number of ECA models are now enabled by default to replace hard-coded event subscribers and custom hooks.
This transition improves maintainability, modularity, and allows future AI integrations.
However, after a fresh installation, the list of ECA models does not automatically subscribe to their respective events — resulting in inactive workflows until a manual rebuild is triggered.
#3537397: Add ECA: Event - Condition - Action and BPMN.iO modules to Varbase Core
#3543084: Enable more ECA: Event - Condition - Action integration modules by default in Varbase Core
#3543094: Enable ECA Workflow module by default in Varbase Workflow
#3543089: Enable AI ECA integration module by default in Varbase AI
#3543094: Enable ECA Workflow module by default in Varbase Workflow
#3547929: Add ECA Tamper Integration module to Varbase Core and Enable by default
#3549569: Add ECA Helper module and enable by default
#3548006: Add a User Login Notification ECA Model with one workflow sequence to send notification emails when users login
#3548011: Add a User Recertification ECA model with workflow sequences for role changes and inactive users
#3548025: Add an optional not enabled Redirect 403 to Login ECA Model with a ready workflow sequence
#3548019: Add a Draft Reminder ECA Model with workflow sequence to notify admins about outdated drafts
#3551835: Have a new Admin Change Role Notification ECA model as standalone workflow sequence
#3547922: Add Easy Email module to Varbase Email and Enable by default
#3548657: Add default Text editor for Email HTML Text format to CKEditor5
Steps to reproduce
Given on a fresh install of Varbase
Then the list of ECA Models will not auto-subscribe to events
Proposed resolution
- Add a process Rebuild the state of subscribed events for ECA
- An equivalent to running:
drush eca:subscriber:rebuild
All ECA models are correctly subscribed to their corresponding events immediately after installation.
No manual Drush commands required.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-10.1.0-beta1
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- [#3550753] feat(eca): Added process to rebuild state of subscribed events for ECA models
Comments
Comment #2
rajab natshahComment #3
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshahComment #11
rajab natshah✅ Released varbase-10.1.0-beta1