Back Forward Harness rules
Completing the New or Save As form

About Harness rules

Create a harness rule by selecting Harness from the User Interface category.

To mark the new rule as JSR 168 compliant, select a template rule in the Template field to copy for the harness rule.

NoteYou can't add a harness rule to a component RuleSet.

A harness rule has two key parts:

Field

Description

Applies To

SmartPrompt Select a class that this harness rule applies to. In most cases, select the name of the class which contains the work objects that the harness rule supports. Choose the class that is most specific to the application and its work objects, rather than a general Work- class.

Typically the class you specify in this field is derived from the Work- base class. In special cases, a harness rule can apply to a class derived from the Assign- base class.

Purpose

Enter a name for this harness rule. If this rule is to override a standard rule, choose:

  • AutoClose — An empty harness that closes automatically. An alternative to Confirm, for use in those flow actions that do not require users to see (and dismiss) a confirmation form. C-1187
  • Confirm — To display the results, including the work object ID, of an update.
  • New — To create a work object. (You can choose a value other than New if desired; identify the harness in the Harness for work object creation field on the Process tab of the Flow form.)
  • NewCovered — To create a work object that is associated with an existing cover work object.
  • Perform — To update and possibly complete an assignment.
  • Reopen — To allow a resolved work object to be reopened.
  • Review — To review a work object and assignment without the ability to update.

Begin the name with a letter and use only alphanumeric, ampersand, and dash characters to form a Java identifier. See How to enter a Java identifier.

The Template field is optional. Specify PortletHarness to create a harness rule that uses portlet-compliant HTML and can be displayed in a portlet window on a portal server through Service Portlet rules.

For general information about this 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.

Rule resolution

FFTT When searching for harness rules, the system:

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

Up About Harness rules