Back Forward Creating good Short Descriptions

Most rule forms and data instance forms contain a Short Description field, also known as its label. Internally, the Short Description field corresponds to the@baseclass.pyLabel property. On the Class form, Property form, and Operator ID form, the field for the @baseclass.pyLabel property has the label Description rather than Short Description.

Take a few seconds to choose the text you enter in this field as you save each rule. Your choice can enhance your personal productivity, the productivity of your development team, and affect the usability of your application.

Short Description text is used as follows:

While most Short Description text is less than 30 characters long, enter more than 30 characters when necessary. (The limit is 64 characters.)

Short Description text as user prompts

In important special cases, Short Description text is visible to application users. Choose text meaningful to such users:

NoteIf a standard flow action, flow, or class rule meets your application needs except for its Short Description text, you can override only the Short Description with the Localized Label field in a field value rule.

NoteChanges you make to the Short Description text of a checked-out rule may become visible REALLY? only after you check in the rule. B-19483 RejectedREMOVED You cannot create Short Description text that starts with one of the reserved prefixes "px", "py", or "pz."REMOVED B-16002

Short Description text as documentation

For Short Descriptions on other rule types, enter a sentence or phrase that describes how you expect the rule to be used. You need not enter your name, the RuleSet, any key part, or the date, as these facts are present (and searchable) elsewhere in the rule.

The value you enter appears on reports, lists, and SmartPrompt ToolTips. Choose a value that helps you or others select a rule of interest from a possibly long list.

Current application name on Designer Studio Application Menu

The text in the Description field of an application rule appears as the current application on the Designer Studio Application menu. The name also appears in the Switch Application menu list. Enter a unique, meaningful name. Include a version number if users have access to multiple versions using the same description.

Supporting rule searches and Explorer displays

Choose Short Description text that support searches. Longer, specific words (such as Mortgage) are more useful when searching than common short words. To search for a rule based on its Short Description:

  1. Perform any search. From the results panel, select Show Settings.
  2. Select the Rule checkbox, the Content radio button, and the Starts With radio button
  3. Enter a new search in the form pyLabel:Text, where Text is the initial portion of the label in the rule you are searching for, containing no spaces or special characters. Enter the text in the exact case.
  4. Press Enter.

For class rules, if you set the Explorer preference Display Type as Label, the Description of each class appears in the Explorer tree displays. To do this, select Preferences from the Designer Studio profile menu and the select the View item. Change the Display Type to Label and click  Save  . This mode is most useful for custom work types — the concrete Work-classes in your application.

Lookup Cache supports SmartPrompt ToolTip display

B-12483 Advanced featureShort Description or Description text appears as a ToolTip on SmartPrompt displays, when the developer holds a pointer on a row of the selection list. (SmartPrompt displays are primarily accessed by developers, not by application users.)

In some cases, after you update the Short Description or Description of a rule, an internal cache that supports SmartPrompt may become stale; the ToolTip display presents the prior value. To remedy this, delete the on-disk cache using the System Management application:

  1. Select> System > Tools > System Management App to start the System Management application. Authentication may be required.
  2. On the System Management application window, select a node. ALIBJ 5/16/06
  3. Select the Advanced > ETier Static Content Management menu item.
  4. Click  Delete LookupList Cache.

PDN Resources

See PDNPega Developer Network article PRKB-26160 Standards for Class Names and Rule Names.
Definitionslookup list, private RuleSet
Related topicsChoosing rule and data instance names

UpDesigner Studio basics