Skip to content

Template

Execute reusable templates as workflow steps.

1 modules

ModuleDescription
Vorlage aufrufenFühren Sie eine Vorlage aus Ihrer Bibliothek als Workflow-Schritt aus

Modules

Vorlage aufrufen

template.invoke

Führen Sie eine Vorlage aus Ihrer Bibliothek als Workflow-Schritt aus

Parameters:

NameTypeRequiredDefaultDescription
template_idstringYes-ID of the template to execute
library_idstringYes-ID of the library item (purchase/fork/owned)
timeout_secondsnumberNo300Maximum execution time in seconds
output_mappingobjectNo{}Map internal variables to workflow output

Output:

FieldTypeDescription
__event__stringID des Bibliothekselements (Kauf/Fork/Besitz)
resultanyMaximale Ausführungszeit in Sekunden
template_idstringEreignis für Routing (Erfolg/Fehler)
execution_time_msnumberVorlagenausführungsergebnis

Example: Example

yaml
template_id: abc123
library_id: purchase_xyz
timeout_seconds: 60

Example: Example

yaml
template_id: abc123
library_id: purchase_xyz
output_mapping: {"processed_data": "result.data"}

Released under the Apache 2.0 License.