You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Name

Get-JS7Workflow

SYNOPSIS

Returns workflows from the JS7 inventory

SYNTAX

Get-JS7Workflow [[-WorkflowPath] <String>] [[-WorkflowVersionId] <String>] [[-Folder] <String>] [-Recursive] [[-RegularExpression] <String>] [-Compact] [<CommonParameters>]

DESCRIPTION

Workflows are returned from JOC Cockpit - independent of their deployment status with specific Controller instances.
Workflows can be selected either by the folder of the workflow location including sub-folders or by an individual workflow.

Resulting workflows can be forwarded to other cmdlets for pipelined bulk operations.

PARAMETERS

WorkflowPath

-WorkflowPath <String>
Optionally specifies the path and name of a workflow that should be returned.

One of the parameters -Folder, -WorkflowPath or -RegularExpression has to be specified.

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

WorkflowVersionId

-WorkflowVersionId <String>
Deployed workflows can be assigned a version identifier. This parameters allows to select
workflows that are assigned the specified version.

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

Folder

-Folder <String>
Optionally specifies the folder for which workflows should be returned.

One of the parameters -Folder, -WorkflowPath or -RegularExpression has to be specified.

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

Recursive

-Recursive <SwitchParameter>
Specifies that any sub-folders should be looked up. By default no sub-folders will be searched for workflows.

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

RegularExpression

-RegularExpression <String>
Limits result to workflow paths that correspond the given regular expression.

One of the parameters -Folder, -WorkflowPath or -RegularExpression has to be specified.

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

Compact

-Compact <SwitchParameter>
Specifies that fewer attributes of a workflow are returned.

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

about_JS7

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS > $workflows = Get-JS7Workflow

Returns all workflows.

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

PS > $workflows = Get-JS7Workflow -Folder /some_path -Recursive

Returns all workflows that are configured with the specified path including any sub-folders.

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

PS > $workflows = Get-JS7Workflow -WorkflowPath /test/globals/workflow1

Returns the workflow "workflow1" from the folder "/test/globals".

  • No labels