Flows Add-on: Setup and common issues
The Flows add-on automates recurring CMDB processes via trigger-action rules.
Setup (required)
Flows requires two CLI processes running regularly:
Via crontab (every minute)
* * * * * www-data /usr/bin/php /var/www/html/console.php flows:perform --user admin --password admin --tenantId 1
* * * * * www-data /usr/bin/php /var/www/html/console.php flows:time-trigger --user admin --password admin --tenantId 1
Without these processes, no flows will be executed.
Trigger types
| Trigger | Description | License required? |
|---|---|---|
| Time-based | Execution at specific time, optionally recurring | No (Flows Lite) |
| Button | Manual trigger via action bar | Yes |
| Object Event | On CMDB status change | Yes |
| Category Event | On category edit | Yes |
Object and Category events are not triggered by imports or API calls.
Common issues
Flows page is empty
Solution: Update i-doit and Flows to the current version.
Flows cannot be saved
Check permissions under Administration > Permissions > Flows. Ensure crontab/systemd processes are running.
Flows not triggered for template-created objects
Flows with Object or Category Event triggers are not fired when objects are created via templates. Only manual changes via the web interface trigger these.
Detailed documentation: Flows add-on in the Knowledge Base
Comments
0 comments
Please sign in to leave a comment.