Versions Compared

Key

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

...

-OrderName <String>
Specifies the name of an order. The JOC Cockpit web service will consider the order name
when creating unique order iDs from the pattern #<YYYY-MM-DD>#<qualifier><timestamp>-<order name>
such as with #2020-11-22#T072521128-Some_Order_Name.

* YYYY-MM-DD: Date for which the order is scheduled
* qualifier: one of T(emporary), P(lan), F(ile)
* timespan: time specified in milliseconds
* order name: the value of the -OrderName parameter

Required?true
Position?1
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-WorkflowPath <String>
Specifies the path and name of a workflow for which orders an order should be added.

Required?true
Position?2
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-------------------------- EXAMPLE 2 --------------------------

PS > $orderIds = 1..10 | Add-JS7Order -WorkflowPath /sos/reporting/Reporting -OrderName Test

...

-------------------------- EXAMPLE 3 --------------------------

PS > $orderId = Add-JS7Order -Order OrderName Test -WorkflowPath /sos/reporting/Reporting -At "now+1800"

...

-------------------------- EXAMPLE 4 --------------------------

PS > $orderId = Add-JS7Order -Order OrderName Test -WorkflowPath /sos/reporting/Reporting -At "2038-01-01 00:00:00" -Timezone "Europe/Berlin"

...

-------------------------- EXAMPLE 5 --------------------------

PS > $orderId = Add-JS7Order -WorkflowPath /sos/reporting/Reporting -At "now+3600" -Arguments @{'param1' = 'value1'; 'param2' = 'value2'}

...