Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Fix examples in Start-PnPWorkflowInstance #2483

Merged
merged 1 commit into from
Feb 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Commands/Workflows/StartWorkflowInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ namespace SharePointPnP.PowerShell.Commands.Workflows
[CmdletHelp("Starts a workflow instance on a list item",
Category = CmdletHelpCategory.Workflows)]
[CmdletExample(
Code = @"PS:> Start-PnPWorkflowInstance -Name 'WorkflowName' -ListItem $item ",
Code = @"PS:> Start-PnPWorkflowInstance -Subscription $subscription -ListItem $item ",
Remarks = "Starts a workflow instance on the specified list item",
SortOrder = 1)]
[CmdletExample(
Code = @"PS:> Start-PnPWorkflowInstance -Name 'WorkflowName' -ListItem 2 ",
Code = @"PS:> Start-PnPWorkflowInstance -Subscription $subscription -ListItem 2 ",
Remarks = "Starts a workflow instance on the specified list item",
SortOrder = 2)]
public class StartWorkflowInstance : PnPWebCmdlet
Expand Down