'Return an instance of \'Workflow\' identified by `id`,
which is encoded in the tool panel.'

def _load_workflow(self, workflow_id):

    id = self.app.security.decode_id(workflow_id)
    stored = self.app.model.context.query(self.app.model.StoredWorkflow).get(id)
    return stored.latest_workflow
