Cisco Cisco Process Orchestrator 3.0 User Guide

Page of 242
 
11-7
Cisco Process Orchestrator User Guide
OL-30196-01
Chapter 11      Authoring Custom Automation Packs
  Validating Automation Packs
Validating Automation Packs
Automation pack authors are not always aware of best practices for creating content. In fact, the 
challenge is that the further removed one is from the product team, the less awareness there is of best 
practices.
Style checkers are sets of validation rules that run against an automation pack and its member objects to 
ensure that the automaton pack follows best practices. Some of the style checkers can be run against a 
process under development in the Process Editor. Some of the benefits that style checkers provide 
include:
  •
Automating best practice checks that QA performs on packaged content, including:
  –
Ensuring that the content follows best practice guidelines.
  –
Identifying issues with automation pack objects (broken references, missing required values).
  •
Raising the quality of packaged automation and automation created by Cisco Services, delivery 
partners, or customers.
  •
Tuning preferred checks per automation pack. Style checkers can be turned on or off based on need. 
For example, automation packs developed for in-house use might want to turn off some style 
checkers (such as target, or users included in automation pack).
  •
Embedded help for identified issues. Help topics notify users why a style check is added, and what 
the consequences might be if the warning is not resolved.
To run a style checker against an automation pack:
Step 1
Choose Administration > Automation Pack, highlight the appropriate automation pack, right-click and 
choose Properties.
Step 2
Click the Style Checker Selection tab to select the rules you want to validate against an automation pack 
(see 
), then click OK.
Step 3
To start the validation process, you can either:
  •
Right-click on the automation pack and choose Validate from the context menu. 
  •
On the Process Editor, choose File > Validate to display the Style Checkers Selection dialog box.
Note that:
  •
The automation pack validation action can be run on-demand or at export.
  •
This menu item is disabled if you click an automation pack that you did not create.
  •
Validation of an automation pack could take several minutes. 
Step 4
Click OK. The process validator will start processing the selected validation rules against the current 
process.