Registering Operators and Operator Sets
This section discusses how to:
Register operators.
Register operator sets.
Operators within PeopleSoft Active Analytics Framework are defined in text expressions that are used to evaluate a condition at runtime. The operand values in the text expressions must be substituted for an operator definition for integration with policies. The substitution of operand values is ensured by the correct placement of metatext corresponding to the desired operand or source term.
To refer to the left-hand side of a condition, use %0 as the value. To refer to right-hand-side operands 1-4 , use the text values %1, %2, %3, and %4, respectively. For example, the following operator expression determines whether the numeric term's value is less than a right-hand-side value:
%0 < %1
Note: If you edit operators, policies that reference them must be recompiled. Do this by editing and saving the policy.
Pages Used to Register Operators and Operator Sets
Page Name |
Definition Name |
Navigation |
Usage |
---|---|---|---|
Register Operators |
EOCF_OPERATOR_DEFN |
|
Define operators. |
Register Operator Sets |
EOCF_OPERSET_DEFN |
|
Define operator sets. |
Register Operators Page
Use the Register Operators page (EOCF_OPERATOR_DEFN) to define operators.
Image: Register Operators page
This example illustrates the fields and controls on the Register Operators page. You can find definitions for the fields and controls later on this page.
Register custom operators by defining the left-hand-side and right-hand-side operand specifications and entering expression text.
Register Operator Sets Page
Use the Register Operator Sets page (EOCF_OPERSET_DEFN) to define operator sets.
Image: Register Operator Sets page
This example illustrates the fields and controls on the Register Operator Sets page. You can find definitions for the fields and controls later on this page.
Operator sets define the list of valid operators for a term selected on the left-hand side of a condition.
Enter a unique operator set name and description, and add valid operators for this set.