WorkflowStep 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 Step.

This object is derived from the ProcessTask class. All properties and methods from the ProcessTask are supported for this object, plus the properties below.

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 CurrentWorkflowStep variable.

Properties

PROPERTY NAME

DATA TYPE

DESCRIPTION

WFID

String

The ID of the Workflow definition

STID

String

The ID of the Workflow Step

StepName

String

The name of this step

WFINSTID

String

The ID of the Workflow instance

STINSTID

String

The ID of the Workflow Step instance

WfInst

WorkflowInstance Object

The Workflow instance object that contains this step

Message

String

The optional message if this step is complete

Error

Boolean

Is the Workflow Step in an error state?

Methods