Integration Server 10.5 | Built-In Services Reference Guide | String Folder | Summary of Elements in this Folder | pub.string:substitutePipelineVariables
 
pub.string:substitutePipelineVariables
WmPublic. Replaces a pipeline variable with its corresponding value.
Input Parameters
inString
String Optional. String containing the pipeline variable to replace. Specify the name of the pipeline variable between the % symbols (for example, %phone%).
Output Parameters
value
String Contents of inString with the pipeline variable replaced.
Usage Notes
The service returns an error if inString is not specified.
If inString does not contain any variable between the % symbols, or contains a value other than the pipeline variable between the % symbols, the service does not perform any variable substitution from the pipeline.
If you want to include the % symbol in the output, you can specify it as \% in inString. To specify the value of the pipeline variable as a percentage in the output, append \% after the variable name in inString. For example, suppose a pipeline variable revenueIncreasePercent has a value of 100.
If inString equals...
Then value will contain...
%revenueIncreasePercent%\%
100%
The service cannot be used for substitution of global variables.