Routine
Configuration
- type: routine
routine: "my_routine_name" # Required: Name of the routine to execute
params: # Optional: Parameters to pass to the routine
param1: "value1"
param2: "value2"
env: # Optional: Environment variables for all steps
ENV_VAR1: "value1"
ENV_VAR2: "value2"
on_failure: abort # Optional: abort/warn/quiet/skip
id: my_id # Optional. Will be generated. Use `log` hook with {runtime_state} to view state.Properties
Property
Required
Description
Routine File Structure
Required Parameters
Output
Returning Custom Output from Routines
Examples
Basic Routine Usage
Routine with Parameters
Routine with Environment Variables
Conditional Routine Execution
Chaining Routines
Routine with Output Values
Complex Routine Example
Last updated
Was this helpful?