Writing external applications

You can write an external application in VBScript or Perl to perform tasks against a HCL Compass database.

You can use an external application to create a query, run a saved query, create new records, and perform actions on records. For example, an external application can perform these tasks:

  • At midnight every day, run a set of queries and send the results to the managers group.
  • Each Sunday, find all defects that have been open for more than a month and raise their status setting.

An external application must begin by creating a session object and logging in to a HCL Compass database. See Working with sessions.

HCL Compass software includes a version of Perl (CQPerl.exe, CQPerl.dll). When creating external applications that use Perl, use the CQPerlExt package. See Using the HCL Compass API in the Compass API Reference.