Expression
The Expression math variable is used to perform calculations. Expression can return one value. The Expression math variable allows for adding, subtracting, multiplying, or dividing previously defined math variables or literal numeric values. Expression can also be used to copy the value of one math variable into another.
Expression Math Variable in Palette
Note: For a comprehensive explanation of the characteristics of this math variable, refer to the XML Configuration Guide in the Help menu.
Define the Expression Math Variable
Drag and drop the Expression Math variable from the Palette window onto the Math Pane. Enter the following information for the math variable.
-
Type a name in the Name field. This is required.
-
The data types are Activity, Boolean, Date, Decimal, Integer, Map, Object, and Text. This is required.
-
Make sure variable type is defined as Expression. This is required.
-
Select Yes or No from Log field. Default is No. This is an optional field.
-
Round offers the options of Yes or No. Round is only enabled if you select the Decimal in the data type property. If you would like to round the Decimal, select Yes. Enter the number of decimal places to round the result value. Note: When the data type of Decimal is selected, the default value for Round is set to No. You must change the selection of the radio button to Yes if you wish to round.
-
In the Expression property, enter the calculation or arithmetic you would like to perform using previously defined Math variables, activity fields, hard-code numbers, and operators.
Check-in the transaction to save the information to the database.
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices