You are here: Reference > Rule types > Function Alias rules > Function Alias rules - Completing the New or Save As form

Function Alias rules
Completing the Create, Save As, or Specialization form

  1. About 
  2. New 
  3. Reference 
  4. Generated Output 
  5. History 
  6. More... 

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 may copy data instances but they do not support specialization as they are not versioned.

Based on your use case, the Create, Save As, or Specialization form is used to create the record. The number of fields and available options vary by record type. Start by familiarizing yourself with the generic layout of these forms and their common fields:

This information identifies the key parts and options that are applicable to the record type you are creating.

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

Referred to as Quick Create options, the fields presented in this area of the Create form are optional. Selections made here can be used as a starting point for the rule you are creating:

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

When searching for instances of this rule type, the system:

Time-qualified resolution features are not available for this rule type.