'Restores states for a stored workflow\'s steps.'

def get_stored_workflow_steps(self, trans, stored_workflow):

    module_injector = WorkflowModuleInjector(trans)
    for step in stored_workflow.latest_workflow.steps:
        try:
            module_injector.inject(step)
        except exceptions.ToolMissingException:
            pass
