diff --git a/lib/trailblazer/workflow/collaboration.rb b/lib/trailblazer/workflow/collaboration.rb index 1de6d97..6a98d20 100644 --- a/lib/trailblazer/workflow/collaboration.rb +++ b/lib/trailblazer/workflow/collaboration.rb @@ -146,9 +146,7 @@ def initial_lane_positions(lanes_cfg) # FIXME: set the suspend that leads to the "start catch event" as the circuit's start_task, then we don't need this here. # Find the suspend that resumes the actual start_catch_event suspend_task, _ = activity.to_h[:circuit].to_h[:map].find { |task, _| task.is_a?(Trailblazer::Workflow::Event::Suspend) && task.to_h["resumes"].include?(start_catch_event_id) } - if suspend_task.nil? - pp activity.to_h[:circuit] -end + [ activity, suspend_task # We deliberately have *one* position per lane, we're Synchronous.