Back Forward About Harness rules

User Interface category
New Layout Scripts and Styles Pages & Classes
  HTML    Display Options History More...

Purpose

C-451 Use harness rules to define the appearance and processing of work object forms used in your application to create work objects and process assignments.

Process Commander includes more than a dozen standard harness forms for entering, reviewing, updating, and processing work objects and assignments. Your application can override the standard rules to extend and tailor them to specific needs.

NoteBefore creating or editing harness, section or flow action forms, set the Skin preference (in the Run Process area of the General Preferences group) to the skin that application users are expected to use. This provides the closest approximation during development of the runtime look and feel of the form.

NoteYou can use harness rules to define composite portals, as well as work object forms. For this advanced special use, see How to create a composite portal. GRP-378

Controls

On the Layout tab, each harness rule references one or more section rules that define the runtime presentation of the work object. You can directly edit these section rules in the Harness form, using these controls and layouts. (When you save the harness rule, the updated section rules are also saved.)

Layout

Accordion Column Repeat Container Layout Panel Set
  Row Repeat Section Tab Tabbed
Repeat
  Tree TreeGrid Grid

Basic

Button Check box Calendar Icon Image
  Input Box Label Radio Buttons TextArea Select
URL    

Advanced

AutoComplete Chart Data Field Dynamic Select List to List
  List view Menu Bar Paragraph Smart Label Work Area

Applications without work object forms

Work object forms defined by harness rules are typical, but not required, elements of a Process Commander application. Some business process management applications use an external portal or external system and call Process Commander services to create work objects, advance them through a flow, perform flow actions, and so on. The Process Engine API is a collection of standard activities that apply to the Work- base class to support such headless applications. C-2467C-1975

Where referenced

Each flow rule that creates a new work object identifies a harness rule to capture initial information about that work object.

Standard activities that apply to the Work- class look (using rule resolution) for harness rules with specific names, such as New, Perform, and Review. To display a work object form defined by a harness rule, call the standard @baseclass.Show-Harness activity in your activity.

Action section

Harness rules that allow users to select from multiple flow actions (often called Perform harness rules) contain an action section. See Presenting flow actions.

User interaction with work object forms

For basic information about using work object forms defined by harness rules from an application user perspective, see Using work object forms.

Rule forms

Advanced featureBeginning with V5.5, a few rule forms are defined through harness and section rules. This capability is reserved. If your application includes custom rule types, use the Form Builder tool, not harness rules, to define forms.

Access

Use the Application Explorer to access the harness rules that apply to the work types in your application. Use the Rules by Type Explorer to list all the harness rules available to you.

Category

Harness rules are instances of the Rule-HTML-Harness class. They are part of the User Interface category

How to unit test a harness rule

Related topics Understanding CSS styles
How to support work object copying
How to support work object printing
User interface   — Concepts and terms
Standard rules Atlas — Standard Harness rules

User Interface category
Help System home pageHelp Home