<< Click to Display Table of Contents >> RayFlow PowerShell API > 7.3 > Implementation Guide > Cmdlet Reference Update-RayFlowTaskStatus |
Updates the task status and performs connected actions (for example moving tasks between phases).
Name |
Type |
Mandatory |
Description |
Task |
PsRayFlowTask |
Yes |
The target task. You can get this task by invoking the Get-RayFlowTask command let. |
Status |
String |
Yes |
Thenew status (for example Open) |
Be aware that triggering a change of status may result in the package being moved between phases (for example, this can happen when changing the status to "Rejected" or "Finished"), but also deleted (status "Deleted"). Always inspect the result of this command let to discover what has changed as a result of the status change.
Type |
Description |
PsRayFlowTask[] |
A updated task object, where the new status and parent phase are already reflected. |