Values
A value is a constant, a reference to objects or a calculation. Values are compared using relationships.
Value | Description | Parameters | Child Nodes |
---|---|---|---|
Aggregate Value |
This value should have a condition to test and zero or more child values. This value is computed by aggregating the values over any objects that are satisfied by the condition. There are a number of different types of aggregate functions. Detailed information on the child values required are provided in a tool-tip within 1Integrate. |
|
|
Array Element |
An indexed element in an array. The first value should be the array. The second value should be the index into the array, always starting from 0. |
||
Built-in Function Value |
A value which is computed by applying the specified built-in function to one or more parameters. There must be one or more child values of this element, to specify the parameters which will be passed to the function. When a function has been selected from the list of all possible built-in functions, a help icon provides a tool tip with information about the parameters required by this function. |
|
|
Class Name |
Returns the name of the class of an object. The object is specified by the class label or object label pair. |
|
None |
Conditional Value |
This value should have a condition to test and two child values to choose between. If the condition is true, the result is the first child value. If the condition is false, the result is the second child value. |
None |
|
Difference | This value should have two child values (integers or real numbers). The result is obtained by subtracting the second value from the first. |
None |
|
Division | This value should have two child values (integers or real numbers). The result is obtained by dividing the first value by the second. |
None |
|
Dynamic Value |
A attribute value evaluated by reading the value of an attribute from an object. You must specify the class of the object and the attribute to read. You may optionally select the name of an object identified in an earlier part of the rule, if it is necessary to distinguish between different objects of the same class. |
|
None |
Max Value |
Returns the maximum value of the parameter over each object traversed. The values can be either numerical values, booleans, or strings. Boolean values are regarded as being equal to either 1 for true or 0 for false. Strings are compared lexicographically. If numbers are compared to strings, they are converted to strings before being compared. |
||
Min Value |
Returns the minimum value of the parameter over each object traversed. The values can be either numerical values, booleans, or strings. Boolean values are regarded as being equal to either 1 for true or 0 for false. Strings are compared lexicographically. |
||
Named Constant |
A named constant is a key word that equates to a value used when running rules or performing actions. Named constants are listed in a metadata store (see Metadata Stores). When you insert a named constant, you must select a metadata store, a table of named constants within the metadata store, and a key word within the table. If the key word has an associated code value, when the rule or action is run it will use the code value instead of the key word. If there are no code values specified for this metadata table, the key is used. |
||
Negative |
This value should have one child value (an integer or a real number), containing a sign that will be inverted. For example, -1 becomes +1 and vice-versa. |
None |
|
Nested Value |
A value nested within a composite value. To use this value, an attribute must have a child value in the schema. The value is specified by declaring the attribute path to the required level. |
||
Null Value |
A Null value always evaluates as null. This can be used to verify if an object attribute value is null. Note: Searching on a null value is not valid for arrays. |
None |
None |
Object or Element Value |
An object or an element from a collection. You must select the class and name label for the object or element. For an array of simple types, Object, or Element also refers to an element of the array. In this case, only the object label is passed. For an array of complex types, the class label is used for the class of the complex types and the object label is optional. Having an object as a value allows it to be passed to a built-in function. |
|
None |
Product | This value should have two child values (integers or real numbers). The result is obtained by multiplying together all child values. |
None |
|
Remainder | This value should have two child values (integers or real numbers). The result is obtained by dividing the first value by the second, and taking the remainder. |
None |
|
Static Value |
A Static Value is fixed, and does not change. This can be used on either side of a comparison condition or as part of a more complicated expression. It can be a boolean, an integer, a real (floating point) or a string (text). You must specify both the type of value, and the value itself. |
|
None |
Sum |
This value should have at least two child values (integers or real numbers). The result is the sum of all child values. Alternatively, the values can be string types, in which case they are joined together. |
None |
|
Temporary Value |
A temporary value is initially null and can be used to hold temporary results during an action. Note: A temporary value can be used in an action but not in a rule. The value can have either local or global scope. If it has local scope, the value will be reset to null before the action is applied to each object. If it has global scope, the value will be reset to null only at the start of the whole action. A temporary value can be any type, but this type is determined by the value it is given. |
|
None |