ChkDCOType

Confirms that the Type property of the Document Hierarchy's current object is identical to the type entered as the parameter.

Syntax

bool ChkDCOType (StrParam)

Parameters

The String value of the Type property of the object you're checking. Smart parameters are supported.

Returns

True if the value of the DCO Type matches the parameter. Otherwise, False.

Level

All levels.

Details

Confirms that the Type property of the Document Hierarchy's current object is identical to the type entered as the parameter.
Example:
ChkDCOType(Invoice)
SetPageStatus(1)

Applied at the Page level, the action returns True if the current object is an Invoices Page object (using the Invoices application as an example), and False if it is not.

This action will confirm the current DCO Type matches an expected type and take additional subsequent actions that follow this action. In this case, if the current DCO Type is Invoice, the page status is set to 1.