Application Integration (On-Premises) : Service Development : Running Services : Supplying Input Values to a Service : Entering Input for a Service : Specifying a Value for a String Variable
Specifying a Value for a String Variable
Use the following procedure to specify a value for a String variable. You perform this procedure from:
*The Input tab if you are working with a launch configuration
*The Enter Input for serviceName dialog box if you are running or debugging a service
*The Enter Input for variableName dialog box if you are assigning a value, pipeline variable, or global variable to a variable in the pipeline.
To specify a value for a String variable
1. In the Value column for the String variable:
*If you want to assign a literal value to the variable, type a String value in the Value column.
*If you want to derive the value from a String variable in the pipeline, type the name of that variable enclosed in % symbols (for example, %Phone%).
*If you want to derive the value from a global variable, type the name of that global variable enclosed in % symbols (for example, %myFTPServer%).
*You can mix literal values and variable names. For example, if you specify (%areaCode%) %Phone%, the resulting String would be formatted to include the parentheses and space. If you specify %firstName% %initial%. %lastName%, the period and spacing would be included in the value.
2. If you specified a pipeline variable as the value of the String variable (for example, %Phone%), select the Perform pipeline variable substitution check box so that during service execution Integration Server replaces the pipeline variable name with the run-time value of the variable.
Note:  
The Perform pipeline variable substitution check box is not available when using a launch configuration.
3. If you specified a global variable as the value of the String variable (for example, %myFTPUserName%), select the Perform global variable substitution check box so that Integration Server replaces the variable name with the global variable value at run time.
Note:  
The Perform global variable substitution check box is not available when using a launch configuration.
Note:  
If a pipeline variable and a global variable have the same name and you select both the Perform global variable substitution and Perform pipeline variable substitution check boxes, Integration Server uses the value of the pipeline variable.
4. If you want Integration Server to use the value you specified only when the variable does not contain a value at run time, clear the Overwrite pipeline value check box. (If you select this check box, Integration Server will always apply the value you specified.)
Note:  
The Overwrite pipeline value check box is not available when using a launch configuration.
5. Do one of the following:
*If you are working with a launch configuration, click Apply on the Input tab to save the value you entered. You can continue to specify values or click Run to execute the service.
*If using the Enter Input for serviceName dialog box, continue to specify input values, or if you are finished, click OK to close the dialog box and execute the service.
*If using the Enter Input for variableName dialog box, click OK to close the dialog box.
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback