Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 440 Bytes

File metadata and controls

23 lines (16 loc) · 440 Bytes

Conditional Workflow Sample

This sample demonstrates control flow with conditions:

  • If/else branching
  • Switch statements
  • Nested conditions

Files

  • workflow.yaml - The workflow definition
  • main.py - Python code to execute the workflow

Running

python main.py

What It Does

  1. Takes a user's age as input
  2. Uses conditions to determine an age category
  3. Sends appropriate messages based on the category