Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | 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% or %array_name[n]%).
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 a pipeline variable (a variable or an array element) 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.