/** * @todo: docs */ public function resume($execution_guid, array $args = null) { $workflow = $this->get(); $execution = new midgardmvc_helper_workflow_execution_interactive($workflow, $execution_guid); $execution->resume($args); $values = array(); if (!$execution->hasEnded()) { $values = $args; $values['execution'] = $execution->guid; return $values; } return $values; }