1 2 3 4 5 6 7 8 9 10 11
document: name: conditional-logic dsl: '1.0.0-alpha5' namespace: default version: '1.0.0' input: from: "${ .localWeather }" do: - task2: set: weather: "${ if .temperature > 25 then 'hot' else 'cold' end }"