Back Forward Properties
Completing the New or Save As form

About Property rules

A property rule has two key parts.

TipFor simple Single Value properties, you can bypass the form using the  Quick Create   option described below.

TipUse New (New) rather than Save As (Save As) to create most properties, because after you save a new property rule, you cannot change the Mode or certain other values on the form.

TipTo create several properties in a single class quickly, use the Define Properties wizard, available from the right-click menu on the Application Explorer.

NoteYou can't add a property rule to an override RuleSet.

Field

Description

Type

Select Property from the Property category.

Applies To

SmartPromptSelect the name of the class in which you are creating the property.

For a property of mode Java Property, enter Embed-Java- or a class derived from Embed-Java-.

The classes you can enter here may depend on the RuleSet you select. On the Restrictions tab of the Class form, a class rule may limit rules applying to that class to belong to one of an explicit list of RuleSets.

Property Name

Enter a name that starts with a letter and includes only alphanumeric and dash characters, forming an identifier. See Entering identifiers.

CautionProperty names may contain up to 64 characters. However, if this property is of mode Single Value and may prove useful for searching and selection in your application, choose a name not longer than the maximum column name length allowed by the database software supporting the PegaRULES database. This avoids issues that may arise later if the property is to become exposed as a database column. See exposed property.

Except when overriding a standard rule in an upwards-compatible way, choose a name that does not start with px or py. Property names that start with these letters are reserved. In your application, however, use of standard properties with names starting with px and py is encouraged. Your application can set and test values in these properties.

The pz prefix identifies standard properties that support Process Commander internal operations. Do not directly alter these in your application.

Don't choose a name that matches a reserved page name or keyword, such as Top, Parent, Local, Param, or Primary. See Understanding page names and reserved pages.

For general information about the New form, see Completing the new rule dialog box. For general information on the Save As form, see How to enter rule keys using Save As.

Quick Create option

To create a Single Value property and accept default values for all fields except Type, select a Property Type and click  Quick Create  . You can later update the property rule to provide a Full Description, Edit Input conditions, and other features. (The Quick Create option is not available when the Project Management interface is enabled for the application.)

Field

Description

Property Type

SmartPromptSelect a Type.

 Quick Create  

Click to create a Single Value property. The Property form does not appear.

Rule resolution for properties

When searching for property rules, the system:

Time-qualified and circumstance-qualified rule resolution features are not available for property rules.

zzz About Property rules