swf-runtime 1.0.0-alpha7

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
Documentation
1
2
3
4
5
6
7
8
9
10
document:
  dsl: '1.0.0'
  namespace: test
  name: switch-multi-match
  version: '0.1.0'
do:
  - checkGrade:
      set:
        grade: '${ if .score >= 90 then "A" elif .score >= 80 then "B" elif .score >= 70 then "C" else "F" end }'
        passed: '${ .score >= 70 }'