You are here: Reference > Rule types > Functions

About Function rules

  1. About 
  2. New 
  3. Parameters 
  4. Java 
  5. Alias 
  6. Imports & Exceptions 
  1. History 
  2. More... 

Use a function rule to define a Java function that is accessed through rule resolution. You can reference function rules in expressions and directly in Java. Each function belongs to a library (Rule-Utility-Library rule type), indicated by the first key part.

Note: Users can also create function alias rules to create complex SQL expressions that may be needed in Report Definition rules. See About Function Alias rules for more information about SQL function aliases.

Calling functions in expressions

The following forms call a function:

@(RuleSet:libraryname).functionname(arg1, arg2... argn)

@LibraryName.FunctionName(arg1, arg2... argn)

@FunctionName(arg1, arg2... argn)

myruleset_mygeolibrary.MyGeographicFunction(Latitude, Longitude);

See Methods for calling a function for more information.

Access

Use the Records Explorer to list all function rules available to you.

Category

Function rules are part of the Technical category. A function rule is an instance of the Rule-Utility-Function rule type.

Rule resolution

Function rule resolution is applied at runtime and is based on rule status. When searching for instances of this rule type, the system filters candidate rules based on a requestor's ruleset list of rulesets and versions

Time-qualified resolution features are not available for this rule type. Additionally, the class hierarchy is not searched.

Related Topics IconRelated information

Technical category
Help System home pageHelp Home