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
18
document:
  dsl: '1.0.2'
  namespace: test
  name: run-script-example
  version: '0.1.0'
do:
  - runScript:
      run:
        script:
          language: js
          code: >
            function hello() {
                console.log("logged before the 'throw' statement");
                throw new Error("This is a test error");
            }
            
            hello();
        return: all