Back Forward Using the Application Preflight tool

  Show all 

C-1100 Use the Application Preflight tool to list each rule in an application that contains a warning message. Warning messages suggest that the rule is at variance with guardrails and other best practices. C-1788 BUG-2677 You can also check for browser compatibility of visual elements. Proj-791

By default, the Preflight tool does not include warnings on rules imported with the Import Archive tool from other Process Commander systems and not resaved, or rules that were last saved in Version 4 systems.

  Starting the tool

The scope and results of this tool depend on your application RuleSets and the currently selected work pool name.

  1. Click the link containing your name at the top of the navigation panel to see the profile display. Review the area titled Application RuleSets to confirm which RuleSets are to be checked by this tool.
  2. Select> Application > Tools > PreflightBYRNB 2/23/10 to start the Application Preflight tool. B-25194 SR-5159 B-22359 UDB

  Download High Priority Warnings

Performance and DataIntegrity warning types are considered to be high priority. They can degrade system reliability by slowing performance (for instance, a list view that retrieves embedded properties) or by violating data integrity (for example, an activity that uses the Commit method incorrectly). Eliminating high priority warning conditions before putting the rules into production is strongly recommended.

The Download High Priority Warnings option enables you to:

Creating and downloading a High Priority warning spreadsheet

Do the following:
  1. Click Download High Priority Warnings. The Download warnings for <your application> dialog appears.
  2. Click Download to obtain a list report of high priority warnings for the RuleSets in your current access group and download it as an Excel spreadsheet. The File Download dialog appears.
  3. Click Open to download the file and open it in Excel.
  4. Click Yes when the format warning appears. The spreadsheet opens.
  5. Click a link in the Warning Name column to open a PDN article that describes the warning, why it occurred, and how to remove it.
  6. Click a Click to Open link in the InzKey column to open the rule form in a browser.
  7. After you have corrected the warning condition, save the rule.

NoteYou can't open flow action, harness, or section rules from the spreadsheet.

Displaying high-priority rule warning reports

Do the following:
  1. Click Browse Warnings in the Download warnings dialog. A summary report of high priority warnings for the RuleSets in your access group displays.
  2. Click a RuleSet to open a list report of the rules.
  3. Click a row in the report to display the rule instance panel at the bottom of the report.
  4. Click Open to display the rule form, which contains the error message.
  5. After you have made your corrections, save the rule.
Displaying reports of all warnings or reports from other access groups

Do the following:

  Warnings by Rule Type chart

This bar chart appears when you choose Application > Preflight. It displays the number of rule instances with warnings for each rule type for all available RuleSets in your application. You can change the rule type range in the display using the slider widget at the top of the chart. Proj-791 5.4

  All Warnings by Rule Type

Displays a bar chart and summary report which contain the following information:

In the Criteria section, you can filter the report to display data for specific RuleSets as follows:
  1. Click the open icon () next to the RuleSet Name field.
  2. Select one or more RuleSets from the list (only RuleSets that contain warnings are included).
  3. Click Apply.
  4. Click the Run button (Run) to generate the report.
Proj-791 5.4

  Performance Warnings by Rule Type

Displays a bar chart and summary report of rule instances that have performance-type warnings. The summary report and Criteria functionality are the same as described above for the All Warnings by Rule Type report. Proj-791 5.4

  Percent of Rules with Warnings by Rule Type

Displays a bar chart and summary report of rule instances that have warnings. The chart shows the number of rules within each rule set as a percentage of all the rules in the RuleSet. The summary and Criteria functionality are the same as described above for the All Warnings by Rule Type report. Proj-791 5.4

  Pie Chart of Warnings by Severity

Displays a pie chart and summary report of total warnings by severity level (four levels). Level one signifies a warning that is most likely to compromise expected processing behavior. Hover your cursor over each section of the chart to display number of warnings at each level and the percentage each level represents of the total. The summary and Criteria functionality are the same as described above for the All Warnings by Rule Type report.

Note High priority warnings are not correlated to severity. Remediate high priority warnings first.

  Browser Compatibility Report

Work object forms and reports that are part of a Pega Composite application can be designed to operate with Firefox 2.0+ and Safari 3+ browsers as well as with Internet Explorer.

This option displays a chart that assesses the user interface rules in your application for compatibility across these browser types. This report checks the value set in the Browser Support field (on the HTML tab) of all the harness, flow action, section, HTML, HTML property, and HTML fragment rules in your application. The percentage value is the total number of items called by the top-level item (harness or flow action) divided by the number of those items that are marked as cross-browser. See Pega Developer Network articlePDN PRKB-25240 How to run the Browser Compatibility report.

NoteFor purposes of this chart, a rule is counted as cross-browser compatible if any of the following are true:

If you or other developers clear the Auto-generated HTML? option and enter HTML code manually, it is your responsibility to test your code in all browsers. The Application Preflight tool does not validate your code.

The report specifies the Rule Type name, the count of visual elements, a bar chart indicating the compatibility, and the actual percentage value of compatibility for each rule type. Click the orange triangle (Run) next to any Rule Type name, RuleSet name, or Visual Element to drill down in the table for more detailed information. Proj-791 5.4

  Accessibility Report

proj-901 5.4Displays a chart detailing the level of accessibility compliance in an application by Rule Type and % of accessibility. Drill down capabilities display additional levels of detail about individual accessible elements within the rules.

For more information, see Pega Developer Network article PDNPRKB-25259 Use the Preflight tool to report an application's level of accessibility

  Which conditions are marked with warnings

A warning condition does not indicate that a rule is invalid (cannot be saved) or that it does not operate correctly. A warning indicates a variance from design guardrails or best practices. Ideally, you can revise the rule or other rules to remove the variance, which may improve performance, maintainability, user productivity, or usability. Here is a partial list:

If none of the rules have warnings, a message appears: B-18083

There are no rules with warnings in this application.

Researching rules with warning

  1. Click the orange triangle (Run) next to any row to list the non-compliant rules of that rule type.
  2. Click any row to open the corresponding rule.

  Which rules are included and excluded

Which rules the Application Preflight tool evaluates depends only on your application RuleSets, determined by the application rule identified for your access group.

NoteDon't confuse application RuleSets — an unordered collection of RuleSets supporting this tool and other developer tools — with the RuleSet list, an ordered list of RuleSet Versions used at runtime for rule resolution.

PDN Resources

The Pega Developer Network has explanations and guidance for addressing specific warnings. See PDNPRKB-25499 Understanding rule warning messages and PRKB-25497 How to download a list of high-priority rule warnings.

Definitions application RuleSets, conflict, connector, guardrail, warning message
Related topics About flow rules
About Flow Action rules
About Section rules
Using Java in an activity step

UpTools, accelerators, and wizards