Back Forward Text-Infer method

Methods and instructions by function

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. C-1712

A special debugging tool supports the development and testing of activities that use this method. See About the Parse Infer Rule Debugger tool.

Parameters

The Text Infer method has two parameters:

Parameter

Description

Name Smart PromptSelect 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 Smart PromptIdentify the property that contains the source text value on which the parse infer rule operates.

Results

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.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Related topics About Parse Infer rules

UpMethods and instructions by function