RunDecisionPlanCC

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

Member of namespace

CC

Syntax

bool RunDecisionPlanCC()

Returns

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

Level

Page level.

Details

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

The page’s 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. For more information, see IBM Content Classification: Category and rule-based classification.

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")
SetDecisionPlanCC("Mortgage")
SetDecisionPlansFieldsCC("EmployeeID.Date")

// Run the decision plan
RunDecisionPlanCC()