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

WorkflowInstance cmdlet improvements #2871

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

fowl2
Copy link
Contributor

@fowl2 fowl2 commented Aug 25, 2020

Improvements to *-WorkflowInstance cmdlets

Get-WorkflowInstance:

  • add OutputType annotation
  • add getting site workflow instances
  • add get by instance guid
  • positional and piped list item and subscription parameters
  • get by list item object without specifying a list pipebind
  • added extra examples

Resume-WorkflowInstance:

  • improved implementation to retrieve just the requested instance instead of getting all and filtering
  • added examples

Start-WorkflowInstance:

  • return the Guid of the started instance
  • added extra examples
  • made list item optional, allowing start of site workflows
  • positional and piped subscription and list item parameter
  • added Initiator and InitiationParameters parameters

Stop:-WorkflowInstance:

  • added extra example
  • positional and piped instance parameter
  • verbose message now indicates cancel vs terminate

edit: The diffs look a bit better in Visual Studio

Get-WorkflowInstance:
* add OutputType annotation
* add getting site workflow instances
* add get by instance guid
* positional and piped list item and subscription parameters
* get by list item object without specifying a list pipebind
* added extra examples

Resume-WorkflowInstance:
* improved implementation retrieve just the requested instance instead of all
* added examples

Start-WorkflowInstance:
* return the guid of the started instance
* added extra examples
* made list item optional, allowing start of site workflows
* positional and piped subscription and list item parameter
* added Initiator and InitiationParameters parameters

Stop:-WorkflowInstance:
* added extra example
* positional and piped instance parameter
* verbose message now indicates cancel vs terminate
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants