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.



391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'lib/temporalio/client/schedule.rb', line 391

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.



391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'lib/temporalio/client/schedule.rb', line 391

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