Click or drag to resize

WFHandlerCreateWF Method

This method is used to start the creation of an instant workflow.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void CreateWF(
	int WFType,
	string InLinkTypeIID,
	string OutLinkTypeIID
)

Parameters

WFType
Type: SystemInt32
InLinkTypeIID
Type: SystemString
OutLinkTypeIID
Type: SystemString
Remarks

An 'instant' workflow is a runtime created workflow that is done programmatically, and not created manually in the Assistant. The WFHandler is able to handle only one workflow at a time. So if for any reason the WFHandler has a current workflow (for example loaded from file), it will be destroyed.

All workflow-related controls will reflect the changes made for the created workflow.

The instWFType parameter must either be a member of the IWFTYPE enumeration or a long value composed of the CWFF_* flags plus the IWFT_WFS_DIRECT value. In the second case, if you create a workflow with inconsistent steps, the WFHandler may work improperly.

The inLinkType and outLinkType parameters must be the string representation of the link IIDs. The Input and output links can be enumerated by the Links collection.

See Also