Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 803 Bytes

AddSPOWorkflowDefinition.md

File metadata and controls

23 lines (19 loc) · 803 Bytes

#Add-SPOWorkflowDefinition Topic automatically generated on: 2015-10-13

Adds a workflow definition ##Syntax

Add-SPOWorkflowDefinition -Definition <WorkflowDefinition> [-DoNotPublish [<SwitchParameter>]] [-Web <WebPipeBind>]

##Parameters

Parameter Type Required Description
Definition WorkflowDefinition True The workflow definition to add.
DoNotPublish SwitchParameter False By default workflow definitions will be publish, specify this switch to override that.
Web WebPipeBind False The web to apply the command to. Omit this parameter to use the current web.
##Examples

###Example 1

Add-SPOWorkflowDefinition -Definition $wfdef

Adds an existing workflow definition, retrieved by Get-SPOWorkflowDefinition, to a site.