webMethods Integration Cloud and Cloud Deployment Documentation 6.0.0 | webMethods Integration Cloud | Built-In Services | Built-In Services | String | substitutePipelineVariables
 
substitutePipelineVariables
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.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.