Error Trigger Node#
Sie können den Error Trigger Node verwenden, um Fehler-Workflows zu erstellen. Wenn ein anderer verknüpfter Workflow fehlschlägt, erhält dieser Node Details über den fehlgeschlagenen Workflow und die Fehler und führt den Fehler-Workflow aus.
Verwendung#
- Create a new workflow, with the Error Trigger as the first node.
- Give the workflow a name, for example
Error Handler
. - Select Save.
- In the workflow where you want to use this error workflow:
- Select Options > Settings.
- In Error workflow, select the workflow you just created. For example, if you used the name Error Handler, select Error handler.
- Select Save. Now, when this workflow errors, the related error workflow runs.
Beachten Sie Folgendes:
- Wenn ein Workflow den Error Trigger Node verwendet, müssen Sie den Workflow nicht aktivieren.
- Wenn ein Workflow den Error Trigger Node enthält, verwendet der Workflow standardmäßig sich selbst als Fehler-Workflow.
- Sie können Fehler-Workflows nicht testen, wenn Sie Workflows manuell ausführen. Der Error Trigger wird nur ausgeführt, wenn ein automatischer Workflow einen Fehler verursacht.
Verwandte Ressourcen#
Sie können den Stop And Error Node verwenden, um benutzerdefinierte Nachrichten an den Error Trigger zu senden.
Lesen Sie mehr über Fehler-Workflows in Localmind Automate Workflows.
Fehlerdaten#
The default error data received by the Error Trigger is:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
All information is always present, except:
execution.id
: requires the execution to be saved in the database. Not present if the error is in the trigger node of the main workflow, as the workflow doesn't execute.execution.url
: requires the execution to be saved in the database. Not present if the error is in the trigger node of the main workflow, as the workflow doesn't execute.execution.retryOf
: only present when the execution is a retry of a failed execution.
If the error is caused by the trigger node of the main workflow, rather than a later stage, the data sent to the error workflow is different. There's less information in execution{}
and more in trigger{}
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|