Function Alias rules –

Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You can copy data instances but they do not support specialization because they are not versioned.

Create a function alias rule by selecting Function Alias from the Technical category.

> Key parts:

A function alias rule has two key parts:

Field Description
Apply to Select a class. Many function alias rules use @baseclass.

To create an SQL function alias rule, select or enter Embed-UserFunction. Specifying any other class creates a Java function alias rule.

Identifier Specify a name for the rule. Begin the name with a letter and use only letters, numbers, the ampersand character, and hyphens.

Additional creation options

Field Description
Alias type Select an alias type to preset the Java function name, template and input parameters for your newly created Functional Alias rule:

Choose Compare two values to set the Java function name to compareTwoValues().

Choose Is Property Equal To to set the Java function name to compareTwoValues() and update the template to include a specified property.

Choose Date within Date Range to set the Java function name to dateIsInRange()

Choose Other For all SQL function alias rules and for most Java function alias rules

Property Specify the property name that will be used as the {lValue} in the compareTwoValues() function.

This field is only available when selecting an alias type of Is Property Equal To

Rule resolution