code: function createWorkflow(workflow, meta, callback) {
              if (typeof (meta) === 'function') {
                  callback = meta;
                  meta = {};
              }
              if (_wfNames().indexOf(workflow.name) !== -1) {
                  return callback(new e.BackendInvalidArgumentError(
                    'Workflow.name must be unique. A workflow with name "' +
                    workflow.name + '" already exists'));
              } else {
                  workflows[workflow.uuid] = clone(workflow);
                  return callback(null, workflow);
              }
          }
docs: workflow - Workflow object meta - Any additional information to pass to the backend which is not workflow properties callback - f(err, workflow)