Id: <%= h(@plan.id) %>

Label: <%= h(@plan.label) %>

Status: <%= h(@plan.state) %> <% if @plan.state == :paused %> " class="postlink">Resume <% end %> <% if @plan.valid? && @plan.cancellable? %> " class="postlink">Cancel <% end %>

Result: <%= h(@plan.result) %>

<% if @plan.state == :scheduled && @plan.delay_record %>

Start at: <%= h(@plan.delay_record.start_at) %>

Start before: <%= h(@plan.delay_record.start_before || "-") %>

<% end %>

Started at: <%= h(@plan.started_at) %>

Ended at: <%= h(@plan.ended_at) %>

<% if @plan.valid? && @plan.root_plan_step %> <%= erb :plan_step, locals: { step: @plan.root_plan_step } %> <% else %> N/A <% end %>
<% if @plan.valid? %> <%= erb :flow, locals: { flow: @plan.run_flow } %>
sequence concurrence
<% else %> N/A <% end %>
<% if @plan.valid? %> <%= erb :flow, locals: { flow: @plan.finalize_flow } %> <% else %> N/A <% end %>
<%= erb :execution_history %>
Back