Skip to content

Template

Execute reusable templates as workflow steps.

1 modules

ModuleDescription
템플릿 호출라이브러리에서 템플릿을 워크플로 단계로 실행

Modules

템플릿 호출

template.invoke

라이브러리에서 템플릿을 워크플로 단계로 실행

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__string라이브러리 항목의 ID (구매/포크/소유)
resultany최대 실행 시간(초)
template_idstring라우팅 이벤트 (성공/오류)
execution_time_msnumber템플릿 실행 결과

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.