Changing Task Status

<< Click to Display Table of Contents >>

RayFlow PowerShell API > 7.3 > Implementation Guide > Working with RayFlow PowerShell API 

Changing Task Status

Use command let Update-RayFlowTaskStatus to change the status of a task. The following example shows how to update all tasks in the EVAL phase and change their status to On Hold.

 

$evalPhase = Get-RayFlowPhase -Project $projects -PhaseName EVAL

$allEvalTasks = Get-RayFlowTask -Phase $evalPhase -All

Update-RayFlowTaskStatus -Task $allEvalTasks -Status Hold