webMethods 10.2 | Service Development Help | Conditional Expressions | Addressing Variables | Addressing Variables that Contain Special Characters
 
Addressing Variables that Contain Special Characters
 
Typing Special Characters in Expressions
If a variable name contains any special characters, you need to use the following notation to address the variable:
*Enclose the path to the variable and the variable name in % (percent symbols).
*Enclose the variable name that contains special characters in " " (quotation marks).
Following are some examples of how to address variables that contain special characters.
Type...
To...
%"Date/Time"%
Address a variable named Date/Time.
%purchaseOrder/"Date/Time"%
Address a variable named Date/Time in the document variable purchaseOrder.If you did not enclose Date/Time in quotation marks, and instead had %purchaseOrder/Date/Time% or %"purchaseOrder/Date/Time"%, the expression would address a variable named Time in a document named Date that was contained in a document named purchaseOrder.
%"address(work)"/"phone(cell)"%
Address a variable named phone(cell) in the document variable address(work).
%"Date\\Time"%
Address a variable named Date\Time.
Typing Special Characters in Expressions
Addressing Variables

Copyright © 2017-2018 | 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