Application Platform 10.7 | Application Platform API | webMethods Tag Library for JSP | <webm:rename>
 
<webm:rename>
Use the <webm:rename> tag to rename or copy a variable in the Integration Server pipeline.
Syntax
<webm:rename sourceVar="source_variable" targetVar="target_variable"
[copy="true"]/>
Arguments
Argument
Description
source_variable
Pipeline variable to rename to or copy. source_variable can reside in any existing scope or Document.
target_variable
Pipeline variable to rename or copy source_variable. target_variable must be in the current scope. If target_variable does not exist, Integration Server creates it. If target_variable already exists, Integration Server overwrites it.
[copy="true"]
Tells Integration Server to copy source_variable to target_variable.
By default, Integration Server renames source_variable to target_variable by copying source_variable to target_variable and then deleting source_variable.
Example
To rename the pipeline variable state in the Document buyerinfo to ST:
<webm:scope recordName="buyerInfo">
<webm:rename sourceVar="state" targetVar="ST"/>
<jsp:include page="TMPL_ShipToBlock.html" flush="true"/>
</webm:scope>