Versions Compared

Key

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

...

Description

Resolves to the output data, of the specified outputType, of the task instance specified by the siblingName parameter.
 
The sibling task instance must be within the same workflow, and the Execution User of the task instance that is resolving the function must have Read permission for the sibling task instance.

  • If the output record of the specified outputType cannot be found, the function will remain unresolved.

Syntax

${_outputFromTask('siblingName', 'outputType'[, 'defaultValue'])}

Parameters

  • siblingName
    Required; Name of a sibling task instance.
  • outputType
    Required; Type of output to resolve: STDOUT, STDERR, FILE, EXTENSION, or JOBLOG.
  • defaultValue
    Optional; Default value to return if the output data is not found. Default is empty ('').

Anchor
Task Instance Output

...

Number of Lines
Task Instance Output

...

Number of Lines
Task Instance Output

...

Number of Lines

Description

Resolves to the number of lines of output data, of the specified outputType, of the task instance that is resolving the function.

  • If the output record of the specified ouptutType cannot be found, the function will remain unresolved.

Syntax

${_outputNumberOfLines('outputType')}

Parameters

  • outputType
    Required; Type of output to resolve: STDOUT, STDERR, FILE, EXTENSION, or JOBLOG.
Example

${_outputNumberOfLines('STDOUT')}
> 6

Anchor
Sibling Task Instance Output

...

Number of Lines
Sibling Task Instance Output

...

Number of Lines
Sibling Task Instance Output

...

Number of Lines

Description

Resolves to the number of lines of output data, of the specified outputType, of the task instance specified by the siblingName parameter.

  • The sibling task instance must be within the same workflow, and the Execution User of the task instance that is resolving the function must have Read permission for the sibling task instance.
  • If the output record of the specified outputType cannot be found, the function will remain unresolved.

Syntax

${_outputNumberOfLinesFromTask('siblingName', 'outputType')}

Parameters

  • siblingName
    Required; Name of a sibling task instance.
  • outputType
    Required; Type of output to resolve: STDOUT, STDERR, FILE, EXTENSION, or JOBLOG.
Example

${_outputNumberOfLinesFromTask('test', 'STDOUT')}
> 8

...