Versions Compared

Key

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

...

Read the order log from the JS7 History.

SYNTAX

Get-JS7OrderLog [[-HistoryIdControllerId] <String>] [ [-OrderIdHistoryId] <String> ] [[-WorkflowPathOrderId] <String>] [[-FolderWorkflow] <String>] [-Recursive] [[-PathPosition] <String>] [[-NodeState] <String><PSObject>] [[-StartTimePlannedTime] <DateTime>] [[-EndTimeStartTime] <DateTime>] [[-ExitCode] <Int32>] [[-State] <PSObject>] [[-ControllerId] <String>EndTime] <DateTime>] [<CommonParameters>]

DESCRIPTION

Reads an order log for a given workflow, order ID and history ID. This cmdlet is mostly used for pipelined input from the
Get-JobSchedulerOrderHistory JS7OrderHistory cmdlet that allows to search the execution history of orders and
that returns history IDs that are used by this cmdlet to retrieve the order's log output.

PARAMETERS

...

ControllerId

-HistoryId ControllerId <String>
Specifies the history ID that the order was running for. This information is provided by the
This parameter is used to accept pipeline input from the Get-JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

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

...

HistoryId

-OrderId HistoryId <String>
This parameter specifies Specifies the order history ID that the order was running for the given history ID. This information is provided by the
Get-JS7OrderHistory cmdlet.

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

...

OrderId

-WorkflowPath OrderId <String>
This parameter specifies the workflow path and name that the order is assignedis used to accept pipeline input from the Get-JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

Required?false
Position?3
Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

Folder

-Folder <String>

Required?false
Position?4
Default value/
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

Recursive

-Recursive <SwitchParameter>

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

Path

Workflow

-Workflow -Path <String>
This parameter is used to accept pipeline input from the Get-JobSchedulerOrderHistory JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

Required?false
Position?54
Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

...

Position

-Node Position <String>
This parameter is used to accept pipeline input from the Get-JobSchedulerOrderHistory JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

Required?false
Position?65
Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

...

State

-StartTime <DateTime>State <PSObject>
This parameter is used to accept pipeline input from the Get-JobSchedulerOrderHistory JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

Required?false
Position?76
Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

...

PlannedTime

-EndTime PlannedTime <DateTime>
This parameter is used to accept pipeline input from the Get-JobSchedulerOrderHistory JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

Required?false
Position?87
Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

...

StartTime

-ExitCode <Int32>StartTime <DateTime>
This parameter is used to accept pipeline input from the Get-JobSchedulerOrderHistory JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

Required?false
Position?98
Default value0
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

...

EndTime

-State <PSObject>EndTime <DateTime>
This parameter is used to accept pipeline input from the Get-JobSchedulerOrderHistory JS7OrderHistory cmdlet and forwards the parameter to the resulting object.

Required?false
Position?10Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

ControllerId

-ControllerId <String>

9
Required?false
Position?11
Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

...

PS > Get-JS7OrderHistory -WorkflowPath /product_demo/shellsample_chain workflow | Get-JS7OrderLog

Retrieves the most recent order log for the given workflow.

...

PS > Get-JS7OrderHistory -WorkflowPath /product_demo/shellsample_chain workflow | Get-JS7OrderLog | Out-File /tmp/shell_chain.log -Encoding Unicode

...