M-Files API 23.11.13135.0
GetWorkflowStateTransitions Method
VaultWorkflowOperations Object : GetWorkflowStateTransitions Method
The ID that identifies the workflow.
The specified current state affects to the returned transitions so that their "Selectable" properties are set according to the rules defined in the workflows and state definitions.
Description
Receives all state transitions of the specified workflow.
Syntax
Visual Basic
Public Function GetWorkflowStateTransitions( _
   ByVal Workflow As Long, _
   Optional ByVal CurrentState As TypedValue = 0 _
) As StateTransitionsForClient
Parameters
Workflow
The ID that identifies the workflow.
CurrentState
The specified current state affects to the returned transitions so that their "Selectable" properties are set according to the rules defined in the workflows and state definitions.
See Also

VaultWorkflowOperations Object  | VaultWorkflowOperations Members