class Temporalio::Client::Schedule::Action::StartWorkflow

def new(

Parameters:
  • headers (Hash, nil) -- Headers for the workflow.
  • search_attributes (SearchAttributes, nil) -- Search attributes for the workflow.
  • memo (Hash, nil) -- Memo for the workflow.
  • retry_policy (RetryPolicy, nil) -- Retry policy for the workflow.
  • task_timeout (Float, nil) -- Timeout of a single workflow task in seconds.
  • run_timeout (Float, nil) -- Timeout of a single workflow run in seconds.
  • execution_timeout (Float, nil) -- Total workflow execution timeout in seconds including retries and
  • task_queue (String) -- Task queue to run the workflow on.
  • id (String) -- Unique identifier for the workflow execution.
  • args (Array) -- Arguments to the workflow.
  • workflow (Class, Symbol, String) -- Workflow.
  • def new(
      workflow,
      *args,
      id:,
      task_queue:,
      execution_timeout: nil,
      run_timeout: nil,
      task_timeout: nil,
      retry_policy: nil,
      memo: nil,
      search_attributes: nil,
      headers: nil
    )
      _original_new( # steep:ignore
        workflow: Workflow::Definition._workflow_type_from_workflow_parameter(workflow),
        args:,
        id:,
        task_queue:,
        execution_timeout:,
        run_timeout:,
        task_timeout:,
        retry_policy:,
        memo:,
        search_attributes:,
        headers:
      )
    end