In some cases it is necessary to make modifications to Match Rule properties in order to successfully match an application object. This topic describes some common reasons Match Rules need to be edited.
If the original property or properties used by the Match Rule to identify the target change, the object and the Match Rule appear on the Match Rules tab as unmatched. A question mark ? will appear next to the set of match rules. Use the Debug Matching option in the Interrogation Form and re-interrogate the target. OpenSpan will resolve which Match Rules succeed and which fail. Those Match Rules that fail to match the target will appear with a red X mark next to the in the Match Rules grid. The next step in resolving unmatched targets is to view the properties for the target and compare those to the Match Rule properties to see if there are any differences.
In some cases, the properties used for the Match Rule contain specific information that changes depending on how the interrogated application is used. For example, if a Match Rule depends on specific information in the URL, such as an account number or item number, the Match Rule property needs to be modified the Match Rule will fail when the target appears for a different account number or item number. A common problem occurs when the Text used in the Window Text match rule changes. You can modify the Match Rule Text using Regex to broaden the range of Text values that will satisfy the Match Rule.
When a target does not have a unique single property, the default Match Rule used during the Interrogation matches multiple targets. When the Match Rule in the Match Rules grid is highlighted, multiple targets appear as matched in the Targets grid. An error message appears in the Interrogation Form dialog to inform you of the situation. In this scenario you may need to modify the Match Rule properties or add additional Match Rules to successfully match a single target.