nl_tokens: workflow - Workflow object meta - Any additional information to pass to the backend which is not workflow properties callback - f ( err workflow )
pl_tokens: function createWorkflow ( workflow , meta , callback ) { if ( typeof ( meta ) === 'function' ) { callback = meta ; meta = { } ; } if ( _wfNames ( ) . indexOf ( workflow . name ) !== - 1 ) { return callback ( <mask> 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 ) ; } }