Table of contents
TOC
Collapse the table of content
Expand the table of content

Add-PnPWorkflowSubscription

Bert Jansen|Last Updated: 2/20/2017
|
1 Contributor

Adds a workflow subscription to a list

Syntax

Add-PnPWorkflowSubscription -Name <String>
                            -DefinitionName <String>
                            -List <ListPipeBind>
                            -HistoryListName <String>
                            -TaskListName <String>
                            [-StartManually [<SwitchParameter>]]
                            [-StartOnCreated [<SwitchParameter>]]
                            [-StartOnChanged [<SwitchParameter>]]
                            [-AssociationValues <Dictionary`2>]
                            [-Web <WebPipeBind>]

Parameters

ParameterTypeRequiredDescription
DefinitionNameStringTrueThe name of the workflow definition
HistoryListNameStringTrue
ListListPipeBindTrueThe list to add the workflow to
NameStringTrueThe name of the subscription
TaskListNameStringTrue
AssociationValuesDictionary`2False
StartManuallySwitchParameterFalse
StartOnChangedSwitchParameterFalse
StartOnCreatedSwitchParameterFalse
WebWebPipeBindFalseThe web to apply the command to. Omit this parameter to use the current web.
© 2017 Microsoft