RunDecisionPlanForTextCC

For both page type identification and data import purposes, creates page variables by using rule-based classification. The classification is based on the specified text.

Member of namespace

CC

Syntax

bool RunDecisionPlanForTextCC(string TextToClassify)

Parameters

TextToClassify

The text to run against the decision plan.

Smart parameters are supported.

Returns

True if the action completes successfully. Otherwise, this action returns False.

Level

All levels.

Details

Use this action to set the following items:
Item Description
Page variables

The specified text is run against the decision plan. (The decision plan is specified by the SetDecisionPlanCC action). Page variables are created in accordance with the SetDecisionPlanFieldsCC setting and the rules of the decision plan.

Match variables

Some variables are set to contain category match data. For more information, see Category match variables.

Example
// Mandatory prerequisite: An action that performs OCR for the page
Recognize()

// Mandatory settings
SetListenerURLCC("http://localhost:18087")
SetKnowledgeBaseCC("Mortgage")
SetDecisionPlanCC("Mortgage")
SetDecisionPlansFieldsCC("Title,Loan,Loan Type")

// Run the decision plan
RunDecisionPlanForTextCC(@F)