Files
espocrm/custom/workflows/vmh-erstberatung-abschliessen.json
bsiggel 8c83e54650 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.
2026-01-20 23:58:29 +01:00

28 lines
822 B
JSON

{
"type": "simple",
"name": "vmh-erstberatung-abschließen",
"entity_type": "CVmhErstgespraech",
"trigger_type": "afterRecordSaved",
"is_active": true,
"description": "Sendet E-Mail und setzt Status wenn Erstberatung abgeschlossen wird",
"conditions_all": [
{
"type": "equals",
"attribute": "status",
"value": "Warte auf Mandatierung"
}
],
"conditions_any": [],
"conditions_formula": null,
"actions": [
{
"type": "sendEmail",
"from": "system",
"to": "contactId",
"emailTemplateId": null,
"subject": "Erstberatung abgeschlossen",
"body": "Ihre Erstberatung wurde erfolgreich abgeschlossen. Wir warten nun auf Ihre Mandatierung."
}
]
}