Class: Workflow

Workflow

new Workflow(name, domain, tasklist)

Represents a single, named workflow, where all activities and decisions are defined.
Parameters:
Name Type Argument Default Description
name string The name of the workflow.
domain string The AWS SWF domain name to execute this workflow in.
tasklist string <optional>
<name>-tasklist The name of the tasklist to listen for tasks on.
Source:

Methods

start() → {Workflow}

Start listening for decision tasks from SWF
Source:
Returns:
This workflow so you can chain commands.
Type
Workflow

stop() → {Workflow}

Stop listening for decision tasks from SWF
Source:
Returns:
This workflow so you can chain commands.
Type
Workflow