Back Forward About Function Alias rules
 

Technical category
  1. About
  2. New
  3. tab1
  4. tab2
  5. tab3
  6. tab4
  7. tab5
  8. History
  9. More...
New Reference Generated Output History More...

Purpose

There are two types of function alias rules:

  1. For Java functions: Function alias rules define prompting for a function rule for (non-developer) users who maintain decision rules or create reports. The alias rule provides an optional natural-language description and prompting that supports certain selection lists on decision rule forms.
  2. For SQL expressions: Function alias rules provide compact packaging of complex SQL expressions that are needed in some circumstances when querying the database. Process Commander provides a large number of SQL function alias rules the user can select; the user can also create a custom rule if none of those provided is satisfactory.

Use the same New command to create a new rule of either type. Depending on the alias type, different fields appear on the Reference and Generated Output tabs.

 

For Java function aliases

NoteComplete and test the function rule itself before defining a function alias rule that references it.

NoteYou cannot define an alias for a function rule that returns a complex Java type (that is, a type other than a Java.lang.String type or a primitive type such as int).

Where referenced

Java alias function rules are useful for functions that managers or less technical developers may use frequently in report definition rules, decision tree rules, when condition rules, Declare Expression rules, and constraints rules.

SQL alias function rules, defined in the Embed-UserFunction class, support the development of Report Definition rules. When executed, such rules create SQL statement fragments, not Java code fragments.

Category

Alias function rules are instances of the Rule-Alias-Function class. They belong to the Technical category.

Standard rules Atlas — Standard Function Alias rules
Atlas — Standard SQL Function rules

Technical category
Help System home pageHelp Home