Back Forward About Harness rules

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

Purpose

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

Like section rules, HTML rules, property rules, and others, harness rules define the structure, appearance, and behavior of the forms used in applications to create and update work objects and 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.

NoteBeginning with V5.5, you 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.

Controls

Layout

Accordion Column Repeat Container Layout Panel Set
  Row Repeat Section Tab Tabbed
Repeat
 

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.

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.

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

AdvancedBeginning 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 User Interface slice (User Interface slice) or 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

Up User Interface category
Help System home pageHome