#Add-PnPWorkflowSubscription Adds a workflow subscription to a list ##Syntax
Add-PnPWorkflowSubscription -Name <String>
-DefinitionName <String>
-List <ListPipeBind>
[-StartManually [<SwitchParameter>]]
[-StartOnCreated [<SwitchParameter>]]
[-StartOnChanged [<SwitchParameter>]]
-HistoryListName <String>
-TaskListName <String>
[-AssociationValues <Dictionary`2>]
[-Web <WebPipeBind>]
##Parameters
Parameter | Type | Required | Description |
---|---|---|---|
AssociationValues | Dictionary`2 | False | |
DefinitionName | String | True | The name of the workflow definition |
HistoryListName | String | True | |
List | ListPipeBind | True | The list to add the workflow to |
Name | String | True | The name of the subscription |
StartManually | SwitchParameter | False | |
StartOnChanged | SwitchParameter | False | |
StartOnCreated | SwitchParameter | False | |
TaskListName | String | True | |
Web | WebPipeBind | False | The web to apply the command to. Omit this parameter to use the current web. |