You are here: Reference > Tools, accelerators, and wizards > Parse Infer rule debugger

The Parse Infer rule debugger

Use the Parse Infer rule debugger tool to test and debug an activity that uses the Text-Infer method. This tool presents detailed debugging output from the parse infer rule and the parse transform collection and parse transform rules that it may reference.

Starting the tester

  1. Use the Application Explorer to open the standard activity Code-Pega-Parse.RPInferDebugger.
  2. Click the toolbar Run button. A test input form appears.
  3. Click Execute. Click Start Debuggeron the next form.
  4. Return to the portal window. Run the activity to be tested.
  5. Return to the test page to review output.
  6. Click Refresh Debug Events to access additional output. Click Clear Events to erase currently displayed events.
  7. Click Stop Debugger to end use of the debugging tool.

Example

Output is similar to this example:

Starting Infer RULE-PARSE-INFER PEGASAMPLE FWGETRECTXNREFFROMMESSAGE #20040915T160003.528 GMT
Checking for matches to LookFor
Find \b([A-Za-z0-9]{3})(\d\d)([0123]\d\d)(\w\w)[-/._]?([0-9Oo]{1,5})\b (Transform: fwFindRecTxnRef )
Found string match; running through Convert definition.
Match String: PEG85396SI/oo056
Convert returned null
Found string match; running through Convert definition.
Match String: PEG85076SI/00989
Parse Info Snapshot
<?xml version="1.0"?>
<pagedata>
<pxMessage>Parse Info Snapshot</pxMessage>   <pxMatchString>PEG85076SI/00989</pxMatchString>   <pxMatchEnd>204</pxMatchEnd>
<pxObjClass>Code-Pega-Parse</pxObjClass>   <pxMatchTransform>fwFindRecTxnRef</pxMatchTransform>   <pxDebugEventType>PIPage</pxDebugEventType>   <pxMatchConverted>PEG85076SI-00989</pxMatchConverted>   <pxMatchStart>188</pxMatchStart>
<pxMatchGroups REPEATINGTYPE="PropertyList">
   <rowdata REPEATINGINDEX="1">PEG</rowdata>
   <rowdata REPEATINGINDEX="2">85</rowdata>
   <rowdata REPEATINGINDEX="3">076</rowdata>
   <rowdata REPEATINGINDEX="4">SI</rowdata>
   <rowdata REPEATINGINDEX="5">00989</rowdata>
</pxMatchGroups>
</pagedata>
Binding result to .RecTxnRef
Setting secondary properties.
Infer processing done.

Tools — Integration