Customizing HCL Compass project policies

To implement the project policies, the integration adds the following pairs of scripts to a UCM-enabled schema:
  • UCM_ChkBeforeDeliver and UCM_ChkBeforeDeliver_Def
  • UCM_ChkBeforeWorkOn and UCM_ChkBeforeWorkOn_Def
  • UCM_CQActAfterDeliver and UCM_CQActAfterDeliver_Def
  • UCM_CQActBeforeChact and UCM_CQActBeforeChact_Def
  • UCM_CQActAfterChact and UCM_CQActAfterChact_Def

Each policy has two scripts: a base script and a default script. The default scripts have _Def appended to their names and are installed by the UnifiedChangeManagement package. The integration invokes the base scripts, which are installed by the UCMPolicyScripts package. The base scripts call the corresponding default scripts. You can modify the behavior of a policy by editing the base script.

Each script has a Visual Basic version and a Perl version. The Visual Basic scripts have a UCM prefix. The Perl scripts have a UCU prefix. For HCL Compass clients on the Windows® system, the integration uses the Visual Basic scripts. For HCL Compass clients on Linux® and the UNIX® system, the integration uses the Perl scripts. If you modify a policy behavior and your environment includes HCL Compass clients on different types of platforms, be sure to make the same changes in both the Visual Basic and Perl versions of the policy script. Otherwise, the policy will behave differently for HCL Compass clients on Linux® and the UNIX® system and the Windows® system.