Enhance documentation and workflow management in EspoCRM

- Update README.md to include a table of contents and detailed sections on workflow management and custom scripts.
- Remove deprecated 'runWorkflow' field from CVmhErstgespraech localization files.
- Add 'runWorkflow' field to detail layout for CVmhErstgespraech.
- Update workflow_manager.php to improve workflow listing and management functionality.
- Adjust cache timestamps in config.php.
- Create CUSTOM_DIRECTORY.md to outline the custom directory structure and best practices.
- Add README.md for workflow definitions with usage examples and JSON format specifications.
- Introduce new workflow definitions for 'vmh-erstberatung-abschließen' and its backup.
This commit is contained in:
2026-01-20 23:58:29 +01:00
parent e878125489
commit 8c83e54650
12 changed files with 637 additions and 70 deletions

View File

@@ -59,7 +59,6 @@
"beendigungstatbestand": "Beendigungstatbestand",
"contact": "Kontakt",
"nchsterAnruf": "Nächster Anruf",
"runWorkflow": "Workflow ausführen",
"dokumentesvmherstgespraech": "Dokumente"
},
"links": {

View File

@@ -60,7 +60,6 @@
"contact": "Contact",
"nchsterAnruf": "Next Call",
"dokumentesvmherstgespraech": "Documents",
"runWorkflow": "Run Workflow",
"testArray": "Test Array"
},
"links": {

View File

@@ -1,7 +1,4 @@
[
{
"name": "runWorkflow"
},
{
"name": ":assignedUser"
},

View File

@@ -7,6 +7,9 @@
},
{
"name": "nchsterAnruf"
},
{
"name": "runWorkflow"
}
]
],

View File

@@ -204,7 +204,7 @@
"required": true,
"optionsReference": "CVmhMietverhltnis.kndigungsgrundWohnraum",
"default": "Mietrückstand",
"style": {},
"style": [],
"maxLength": 100,
"isCustom": true
},
@@ -416,21 +416,6 @@
"minuteStep": 5,
"tooltip": true,
"isCustom": true
},
"runWorkflow": {
"type": "link-button",
"mode": "runEspoWorkflow",
"popupHeight": 800,
"popupWidth": 600,
"style": "primary",
"buttonSize": "btn-md",
"confirmationDialog": true,
"confirmationText": "Soll der Vorgang abgeschlossen und die Ersteinschätzung versandt werden?",
"title": "runWorkflow Title",
"isCustom": true,
"default": null,
"buttonLabel": "Erstberatung versenden",
"readOnly": true
}
},
"links": {