<< Click to Display Table of Contents >> RayFlow PowerShell API > 7.3 > Implementation Guide > Cmdlet Reference Publish-RayFlowOrder |
Publishes an order created by the New-RayFlowOrder cmdlet.
Name |
Type |
Mandatory |
Description |
Order |
PsRayFlowTaskOrder[] |
Yes |
Order stub(s) created by New-RayFlowOrder cmdlet to be published immediately. |
When publishing, a validation will kick in. In case of missing data fields or validation errors, a warning will be reported and the task will not be published. You have to fix all reported warnings before publishing the package.
$order = New-RayFlowOrder -Project $projects[0] -Category REGULAR
$order["Application name"] = "My name"
$order["Application vendor"] = "My vendor"
$order["Application language"] = "ENG"
$addedtask = Publish-RayFlowOrder -Order $order
WARNING: [Application version]: This field is required
Type |
Description |
PsRayFlowTask[] |
Actual task(s) added to RayFlow. |