Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PS > Get-JS7Order -WorkflowPath /test/samples/workflow1 -Suspended | Resume-JS7Order

Resumes suspended orders for the specified workflow.

-------------------------- EXAMPLE 7 --------------------------

PS > $orders = Get-JS7Order -WorkflowPath /ProductDemo/ParallelExecution/pdwFork -Suspended
$positions = $orders | Get-JS7OrderResumePosition
$orders | Resume-JS7Order -Position $positions[2].position

Retrieves suspended orders and possible positions to resume. The third (index: 2) position is used to resume the order.