3 Wf_Estructura
nique_372 bu sayfayı 2026-04-19 11:21:55 -05:00 düzenledi

YML file structure for workflows

For the workflows executed by the EA, .yml/.yaml files are used in which the series of steps the EA runner will execute one by one until completion is defined.

Basic structure

A workflow file has this structure:

  1. Name:
name: 10
  1. Steps to execute:
steps:
  - name: "RunEA" # Step name
    module: "Generic" # Which module it belongs to: Generic (built-in) or a specific module like AiDataTaskRunner
    # Array of error codes (integers) to validate a step — the step succeeds if the result code returned by the step is in this array.
    # The keyword "any" in the array means any result code is considered success.
    # Note: only integer type is accepted in the array; any other type will be treated as "any"
    valid_results: [] 
    with:  
       # Parameters go here as key:val (depending on the step type there may be objects\arrays, etc)
 
 

Notes:

  1. steps: is an array so there can be as many steps as needed