Skip to end of banner
Go to start of banner

Pipeline Functions and Properties

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 20 Next »

In this Page

args

DescriptionA map containing the pipeline parameters
Syntax
pipe.args[args]
Example

Expression: pipe.args

Result: Name/value pairs of all pipeline parameters


Expression: pipe.args["user"]

Result: Returns the value for the pipeline parameter "user".

hostname

DescriptionThe hostname of the host running the pipeline.
Syntax
pipe.hostname
Example

Expression: pipe.hostname

Result: The hostname where the Snaplex is running the pipeline.

instanceId

DescriptionThe UUID of the pipeline.
Syntax
pipe.instanceId
Example

Expression: pipe.instanceId

Result: The alphanumeric ID for the pipeline in the form of xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, such as 1df92262-6d8a-4be9-bd0f-904e3d54f091

label

DescriptionThe label of the pipeline. If used in a child pipeline, it will return the child pipeline information, not the parent level.
Syntax  
pipe.label
Example

Expression: pipe.label

Result: Returns the name of the pipeline

parentRuuid

DescriptionThe runtime UUID of the parent pipeline.
Syntax
pipe.parentRuuid
Example

Expression: pipe.parentRuuid

Result:

  • If no parent, it returns null.
  • If the pipeline was started by a ForEach Snap, it returns the runtime uuid
    of the parent pipeline.

plexPath

Description

The path of the Snaplex. Select the pipe.plexpath to get the path of current Snaplex.

Syntax
pipe.plexPath
Example

Expression: pipe.plexPath

Result: /snaplogic/shared/cloud-dev

projectPath

DescriptionThe path to the pipeline's project in SLFS.
Syntax
pipe.projectPath
Example

Expression: pipe.projectPath

Result: /orgname/projects/projectname


rootRuuid

DescriptionThe root runtime UUID refers to the top-level execution that is started by a Task or by a user in Designer. It is available in all descendant executions if you need a single ID that is globally available. Use the Pipeline Execute Snap to invoke Child Pipelines.
Syntax
pipe.rootRuuid
Example

Expression: pipe.rootRuuid

Result: The Pipeline runtime ID is 61 characters in length.

ruuid

DescriptionThe runtime Universal Unique Identifier of the Pipeline.
Syntax
pipe.ruuid
Example

Expression: pipe.ruuid

Result: The Pipeline runtime ID is 61 characters in length.

startTime

DescriptionThe start time of the pipeline.
Syntax
pipe.startTime
Example

Expression: pipe.startTime

Result: 2017-02-22T20:56:54.142 UTC

user

DescriptionThe ID of the user that executed the Pipeline.
Syntax
pipe.user
Example

Expression: pipe.user

Result: user@example.com

flags.is_suggest

DescriptionIndicates whether this is a normal execution or a Pipeline validation in Designer.
Syntax
pipe.flags.is_suggest
Example

Expression: pipe.flags.is_suggest

Result: true


See Also

  • No labels