M-Files API 23.11.13135.0
GetWorkflowStates Method
VaultWorkflowOperations Object : GetWorkflowStates Method
The workflow ID.

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

Description
Receives all states of the specified workflow.
Syntax
Visual Basic
Public Function GetWorkflowStates( _
   ByVal Workflow As Long, _
   Optional ByVal CurrentState As TypedValue = 0 _
) As States
Parameters
Workflow
The workflow ID.
CurrentState

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

See Also

VaultWorkflowOperations Object  | VaultWorkflowOperations Members