Designing and Implementing Composite Applications 10.4 | Designing and Implementing Composite Applications | Getting Started with the webMethods Application Platform API | webMethods Tag Library for JSP | <webm:rename>
 
<webm:rename>
You 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 or copy. source_variable can reside in any existing scope or Document.
target_variable
Pipeline variable to which 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
This code renames 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>

Copyright © 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.
Innovation Release