lib/dynflow/execution_plan.rb
# a fallback object representing a plan with some corrupted data,
# preventing to load the whole plan properly, this can be used for presenting
# at least some data and not running into internal server errors
a fallback object representing a plan with some corrupted data,
preventing to load the whole plan properly, this can be used for presenting
at least some data and not running into internal server errors
a fallback object representing a plan with some corrupted data preventing to load the whole plan properly this can be used for presenting at least some data and not running into internal server errors
def add_plan_step(action_class, caller_action = nil)
      add_step(Steps::PlanStep, action_class, generate_action_id).tap do |step|
        if caller_action && caller_action.execution_plan_id == self.id
          @steps[caller_action.plan_step_id].children << step.id
        end
        step.initialize_action(caller_action)
      end
    end
def add_plan_step ( action_class , caller_action = nil ) add_step ( Steps :: PlanStep , action_class , generate_action_id ) . tap do | step | if caller_action && caller_action . execution_plan_id == self . id @steps [ caller_action . plan_step_id ] . children << step . id end step . initialize_action ( caller_action ) end end
a fallback object representing a plan with some corrupted data,
preventing to load the whole plan properly, this can be used for presenting
at least some data and not running into internal server errors
a fallback object representing a plan with some corrupted data preventing to load the whole plan properly this can be used for presenting at least some data and not running into internal server errors
# TODO: to be removed and preferred by the caller_action
action_class
caller_action