issues
issues copied to clipboard
Workflows
Summary of the new feature / enhancement
Workflows would be a good way to chain together multiple scripts. Some features of workflows:
- Schedule
- Run manually
- Target with triggers
- Specify environments and credentials
- Parameters
- Retry steps
- Pause\Resume steps
- ErrorAction determines if the workflow should be terminated
New-PSUWorkflow -Steps {
New-PSUWorkflowStep -Script 'Script1.ps1' -SomeParameter Cool -ErrorAction Continue
New-PSUWorkflowStep -Script 'Script2.ps1' -SomeParameter Cool -ErrorAction Continue
New-PSUWorkflowStep -Script 'Script3.ps1' -SomeParameter Cool -ErrorAction Stop
} -SomeWorkflowParameter 'Nice' -Environment pwsh
Proposed technical implementation details (optional)
No response