M-Files API 23.11.13135.0
GetWorkflowStatesEx Method
VaultWorkflowOperations Object : GetWorkflowStatesEx Method
Workflow ID.
The object's current workflow state.
 
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
 The object version to search the available states for.
 
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. The selectable flag of each state is determined based on the specified current state and object version.
Syntax
Visual Basic
Public Function GetWorkflowStatesEx( _
   ByVal Workflow As Long, _
   Optional ByVal CurrentState As TypedValue = 0, _
   Optional ByVal ObjVer As ObjVer = 0 _
) As States
Parameters
Workflow
Workflow ID.
CurrentState
The object's current workflow state.
 
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
ObjVer
 The object version to search the available states for.
 
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