swf-runtime 1.0.0-alpha8

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
document:
  dsl: '1.0.0-alpha5'
  namespace: test
  name: for-collect-example
  version: '0.1.0'
do:
  - sumAll:
      for:
        each: number
        in: .input
        at: index
      input: 
        from: '{input: .input, output: []}'
      do:
        - sumIndex:
            set: 
              output: ${.output+[$number+$index+1]}