Skip to content
neyric edited this page Dec 31, 2012 · 1 revision

swf-start

Start a workflow execution on AWS SWF.

Usage: swf-start workflow-name [input data]

Options:
  -d, --domain                    SWF domain                                                      [default: "aws-swf-test-domain"]
  -t, --tasklist                  tasklist                                                        [default: "aws-swf-tasklist"]
  -v, --version                   version of the workflow to start                                [default: "1.0"]
  -i, --workflowId                user defined identifier associated with the workflow execution
  --executionStartToCloseTimeout  executionStartToCloseTimeout in seconds                         [default: "1800"]
  --taskStartToCloseTimeout       taskStartToCloseTimeout in seconds                              [default: "1800"]
  --childPolicy                   childPolicy                                                     [default: "TERMINATE"]
  --tag                           tag to add to this workflow execution. Can have multiple.     
  --accessKeyId        AWS accessKeyId                            
  --secretAccessKey    AWS secretAccessKey       

Examples :

# Start a hello-workflow on the default domain and tasklist
$ swf-start hello-workflow

# Start a hello-workflow on another domain and tasklist
$ swf-start hello-workflow -d my-domain-name -t hello-tasklist
Clone this wiki locally