Change type | Description |
---|---|
Updated in version 3.16.0 | Added property to access temporary data location. |
In addition to directly substituting a property value into another property by using {{^propertyname^}}
, you can also use the following advanced substitutions:
Substitution description | Text |
---|---|
Identify whether a specified property name has been defined. Evaluates to true if the property name has been defined. | {{?propertyname?}} |
Reference the value of a run property. Note: You cannot enable or disable a node by using a run property to reference a Boolean (True/False) value. To configure the Enabled property of a node, you can either choose True or False, or you can reference a data flow property which will be evaluated to a True/False value.
|
{{$propertyname$}} |
Textually substitute a property value with a value from the composite within which the node is contained. |
{{^container:property^}} |
Textually substitute the value of a property with an inherited value from the parent node. |
{{^parent:property^}} |
Specify that the default property value should be used if the property is not set. | {{^property=default^}} |
Reference the property source. | {{^propertyname#source^}} |
Retrieve the data type. | {{^propertyname#dataType^}} |
The following properties can be used to identify the path of a data flow, the path of a node within a data flow, and to identify execution sessions (when a data flow is created, an execution session is opened to track the state of the data flow, for example node states and run property values).
Substitution description | Use case | Text |
---|---|---|
Runtime substitution of the locator of the data flow. Also accessible via the run time property name: |
|
{{$DataflowLocator$}} |
Runtime substitution of the hash of the DataflowLocator. Also accessible via the run time property name: d3sa.dataflow.locatorHash . |
The hash values can be useful in temporary file names as they will not contain any characters that would be illegal for file names. |
{{$DataflowLocatorHash$}} |
Runtime substitution of the absolute locator of the execution session. Also accessible via the run time property name: |
ExecutionSession* properties are useful when you want to ensure that for different users, a different reference is used when they run a data flow, and when you want to ensure that for a single user:
|
{{$ExecutionSessionLocator$}} |
Runtime substitution of the hash of the ExecutionSessionLocator. Also accessible via the run time property name: d3sa.executionSession.locatorHash . |
The hash values can be useful in temporary file names as they will not contain any characters that would be illegal for file names. | {{$ExecutionSessionLocatorHash$}} |
Runtime substitution of the execution session ID. Also accessible via the run time property name: d3sa.executionSession.id . |
ExecutionSession* properties are useful when you want to ensure that for different users, a different reference is used when they run a data flow, and when you want to ensure that for a single user:
|
{{$ExecutionSessionId$}} |
Runtime substitution of the execution ID. Also accessible via the run time property name: |
The |
{{$ExecutionId$}} |
The relative locator of the node, for example: object:graph:1234~element:4567~child:8901 Also accessible via the run time property name: |
Node* properties are useful when you want a unique reference per node, where for an individual node the reference will always be the same for all users, across all runs of the same data flow. |
{{^NodeLocator^}} |
The hash of the NodeLocator. Also accessible via the run time property name: d3sa.node.locatorHash . |
The hash values can be useful in temporary file names as they will not contain any characters that would be illegal for file names. For example, the |
{{^NodeLocatorHash^}} |
Runtime substitution of the location where the temporary output data for the run is to be stored. Also accessible via the run time property name: ls.brain.node.outputDataLocation
|
This is useful for obtaining a path which will by default be specific for a given run of a data flow. For example, this could be used in custom nodes that write files which the node or data flow is then responsible for cleaning up its own temporary files. Note: This value is not available for the legacy C++ nodes.
|
${ls.brain.node.outputDataLocation} |
The following substitution allows you to get the version of the current Data360 Analyze instance, from within a data flow:
{{%lae.release.version%}}
The following substitutions will get you the values of the site and data folders:
Substitution description | Text |
---|---|
The path to the deployed site folder. |
{{%ls.appDataDir%}} |
The path to the deployed data folder. We recommend using the /site/lib/java location for storing third party jars. You can reference this location by using this substitution. |
{{%ls.appDataDir%}}/lib/java |