PolicyField
The PolicyField allows for assigning the value of a field from AsPolicy or AsPolicyField to a math variable so the value can be used to perform calculations. The PolicyField math variable has been designed for efficiency and therefore its use is preferred over an SQL statement in the configuration.
PolicyField 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 PolicyField Math Variable
Drag and drop the PolicyField 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 PolicyField. 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.
-
Default is used for a Decimal or Integer value so the system will not return a null value. For example, the default for an Integer data type could be -999999999.
- The PolicyField Value is the name of the Field you wish to retrieve. Type in the Name of the field that resides in AsPolicyField or a column on AsPolicy.
Check-in the transaction to save the information to the database.
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices