Workflow Class

Important The Workflow object is the legacy process model used in early versions of Process Director. BP Logix recommends the use of the Process Timeline object, and not the Workflow object. The Workflow object remains in the product for backwards compatibility, but doesn't receive any new functionality updates, other than required bug fixes. No new features have been added to this object since Process Director v4.5. All new process-based functionality is solely added to the Process Timeline.

This object represents a Workflow (definition and/or instance).

When developing Form scripts (in the various callback methods such as BP_Event) or Workflow scripts, you are automatically given an instance of the “current” Workflow with the CurrentWorkflow variable.

This object is derived from the Process class, which is, in turn, derived from the ContentObject class. All properties and methods from the ContentObject and Process classes are supported for this object, plus the properties below.

Properties

PROPERTY NAME

DATA TYPE

DESCRIPTION

WFID

String

The ID of the Workflow definition

WFINSTID

String

The ID of the optional Workflow instance

Methods