Text-Infer method |
Use this method to evaluate a parse infer rule (Rule-Parse-Infer rule type), which applies one or several regular expressions defined in transform rules and transform collection rules.
A special debugging tool supports the development and testing of activities that use this method. See About the Parse Infer Rule Debugger tool.
The Text Infer method has two parameters:
Parameter |
Description |
Name | Select the second key part of a parse infer rule. To find the rule, the system uses the class of the step page as the first key part. |
Apply To | Identify the property that contains the source text value on which the parse infer rule operates. |
The system uses rule resolution to locate a parse infer rule, using the class of the step page and the Name parameter.
Next, it applies the infer rule to the text in the Apply To value, storing the results in pages and properties specified in the infer rule.
The method fails if the rule cannot be found, or if the Apply To property cannot be found on the clipboard.
This method updates the pxMethodStatus property. See How to test method results using a transition.
About Parse Infer rules |