Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added NP-1253: Variables of the Resource


The following substitution types are available. All possibilities are listed in the section Grammar.

Simple Substitution

This substitution resolves a variable that is declared in the current scope. Only the variable name is given in the square brackets:


These substitutions can only be used in combination with the prefix target. By default the current host is used. See  Host Substitutions for details to the keyword "target" and how to address differing hosts.


Code Block
titleExample with component prefix

Variables of the Resource

The following system substitutions can be used with resource prefix:

SubstitutionDescriptionSample Output
sys.deployNameReturns the name of the resource.ExampleResource
sys.deployPathReturns the path of the resource with a trailing slash./opt/resourcePath
Code Block

The usage with an component prefix is also possible:

Code Block

Host Substitutions

Target Substitutions (target)