Enhance workflow manager and definitions with category support for better organization

This commit is contained in:
2026-01-21 00:01:51 +01:00
parent 8c83e54650
commit 37e158c806
3 changed files with 52 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ This directory contains workflow definitions in JSON format that can be imported
"trigger_type": "afterRecordSaved",
"is_active": true,
"description": "Description of what this workflow does",
"category": "Category Name",
"conditions_all": [],
"conditions_any": [],
"conditions_formula": null,
@@ -24,6 +25,7 @@ This directory contains workflow definitions in JSON format that can be imported
- `afterRecordSaved` - After record is created or updated
- `afterRecordCreated` - Only after record is created
- `scheduled` - Runs on a schedule
- `manual` - Manually triggered
**Condition Types:**
- `equals`, `notEquals`, `greaterThan`, `lessThan`, `contains`, `notContains`, `isEmpty`, `isNotEmpty`, `isTrue`, `isFalse`, `wasEqual`, `wasNotEqual`, `changed`, `notChanged`