Class: Temporalio::Client::Schedule::ActionExecution::StartWorkflow

Inherits:
Object
  • Object
show all
Includes:
Temporalio::Client::Schedule::ActionExecution
Defined in:
lib/temporalio/client/schedule.rb

Overview

Execution of a scheduled workflow start.

Instance Attribute Summary collapse

Instance Attribute Details

#first_execution_run_idString

Returns Workflow run ID.

Returns:

  • (String)

    Workflow run ID.



399
400
401
402
403
404
405
406
407
408
409
410
411
# File 'lib/temporalio/client/schedule.rb', line 399

class StartWorkflow
  include ActionExecution

  # @!visibility private
  def initialize(raw_execution:)
    # steep:ignore:start
    super(
      workflow_id: raw_execution.workflow_id,
      first_execution_run_id: raw_execution.run_id
    )
    # steep:ignore:end
  end
end

#workflow_idString

Returns Workflow ID.

Returns:

  • (String)

    Workflow ID.



399
400
401
402
403
404
405
406
407
408
409
410
411
# File 'lib/temporalio/client/schedule.rb', line 399

class StartWorkflow
  include ActionExecution

  # @!visibility private
  def initialize(raw_execution:)
    # steep:ignore:start
    super(
      workflow_id: raw_execution.workflow_id,
      first_execution_run_id: raw_execution.run_id
    )
    # steep:ignore:end
  end
end