This page will help you to solve problems related to Reference pattern.

  The Reference pattern is a tool that uses string based on regular expression in order to Grep the source code. It is available in the Technologies section, Reference Pattern tab as below :


The Reference Pattern is used by

  • The Dependency Reference Pattern to create links between source and target :

  • Reference Pattern Search String, in content enrichment tab in order to create Search String Object:

For more information, refer to:

Official documentation

*Observed in CAST AIP
*Observed on RDBMS
Action Plan
  1. If there is not hit when the Reference Pattern is used in the dependencies (Dependencies Reference Pattern, the Reference Finder raise no links) or in the content enrichement - Reference Pattern Search String (no search string objects created), the first step to do, in the Reference Pattern Window, is to check the regular expression on file as below, and see if it is hitting entries:
  2. If there is no hit, the Regular expression must be reviewed.
  3. If the Check RegExp raise result like above screenshot, the issue is in the tools that are using the Reference Pattern : CMS Application - Dependencies - Reference Pattern Dependencies or CMS Application - Dependencies - Reference Pattern Dependencies - Missing links or wrong links - Missing links.
  4. Select the section you are interested in:
  5. If you do not find the information you are looking for or solution for your problem, in this page, please contact CAST Technical Support with Relevant Input  and provide the below relevant input to help CAST Support team investigate your problem or procure the required information.

Relevant Input

  1. Screenshot showing the Reference Pattern Configuration like below screenshot :

  2. Screenshot showing that the test reference pattern is succeeding on a source file like below
  3. Sherlock (CAST Support Tool (CST) - alias Sherlock). The options to select are : Export Source code, Export CAST Bases, Export Logs, Export configuration file
  4. The LISA folder of the application, CAST Technical Support will use the Weblayer folder to reproduce the issue and to investigate it.
  5. In case you cannot provide the source code of the whole application, provide with the source code of two identified objects where the link is missing.
  6. Screenshots of Enlighten showing the missing link between two objects and the source code where the link must appear.

Related Pages