Skip to content

Template

Execute reusable templates as workflow steps.

1 modules

ModuleDescription
Şablon ÇağırKitaplığınızdaki bir şablonu iş akışı adımı olarak çalıştırın

Modules

Şablon Çağır

template.invoke

Kitaplığınızdaki bir şablonu iş akışı adımı olarak çalıştırın

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__stringKütüphane öğesinin kimliği (satın alma/çatallama/sahip olunan)
resultanyMaksimum yürütme süresi saniye cinsinden
template_idstringYönlendirme için olay (başarı/hata)
execution_time_msnumberŞablon yürütme sonucu

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.