WorkflowStepUser 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 user in a Workflow Step.

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 User with the CurrentWorkflowStepUser variable.

Properties

PROPERTY NAME

DATA TYPE

DESCRIPTION

WFID

String

The ID of the Workflow definition

STID

String

The ID of the Workflow Step

SUID

String

The ID of the Workflow Step user

TLID

String

The optional task list ID

WFINSTID

String

The ID of the Workflow instance

STINSTID

String

The ID of the step instance

SUINSTID

String

The ID of the step user instance

User

User Object

The user object

Status

Integer

The status of this user in this Workflow Step. Please see the table definition of tblProjActivityUserInst for status codes.

Comment

String

If the user completed this task, the optional comments

Start

DateTime

The time that the user started in this step

End

DateTime

The time that the user completed this step

TermReason

Integer

The termination reason for this user in this step. Please see the Classes topic for a list of termination reasons and their associated integer code.

BranchName

String

The branch the user selected to complete this step

SubTaskName

String

The optional name of the sub task assigned to this Task User

Methods