class AWS::SimpleWorkflow::WorkflowExecution

def terminate options = {}

Returns:
  • (nil) -

Options Hash: (**options)
  • :reason (String) -- An optional descriptive
  • :details (String) -- Optional details for
  • :child_policy (Symbol) --

Parameters:
  • options (Hash) --

Other tags:
    Note: - You should consider canceling the workflow execution
    Note: - If the workflow execution was in progress, it is terminated
def terminate options = {}
  options[:run_id] = run_id
  domain.workflow_executions.terminate(workflow_id, options)
end