USING WF ATTRIBUTES (Variables)
Every program needs variables at different stages of programming.
In WF also we can define variables of various data type. (Date, Text, Number to name a few)
To create new Attribute, right click on Attributes in Navigator > select “New Attribute”
In all our messages we used an attribute named “REQ_NUM”
Define REQ_NUM as shown below,
READING ATTRIBUTE VALUES RUNTIME
&<VARIABLE_NAME> : will return value of the variable at run time. (Example &REQ_NUM in our case)
VIMP: In Order to use any variable(Attribute) in message body,
Once the variable is defined, drag and drop the Variable from Attribute section to Message section as shown below.
If you want to read values of 10 different attributes in message body, you will have to drag and drop all those 10 variables from ATTRIBUTE section to appropriate Message in which you are using these variables as a part of message body.