Class: SimplerWorkflow::Workflow::WorkflowExecutionStartedHandler

Inherits:
DefaultEventHandler show all
Defined in:
lib/simpler_workflow/workflow.rb

Instance Attribute Summary

Attributes inherited from DefaultEventHandler

#workflow

Instance Method Summary collapse

Methods inherited from DefaultEventHandler

#domain, #initial_activity_type, #initialize, #last_activity, #last_input, #scheduled_event

Constructor Details

This class inherits a constructor from SimplerWorkflow::Workflow::DefaultEventHandler

Instance Method Details

#call(decision_task, event) ⇒ Object



238
239
240
# File 'lib/simpler_workflow/workflow.rb', line 238

def call(decision_task, event)
  decision_task.schedule_activity_task initial_activity_type, input: event.attributes.input
end