M-Files API 23.11.13135.0
SetWorkflowStateTransitionEx Method
VaultObjectPropertyOperations Object : SetWorkflowStateTransitionEx Method
The object version.
The workflow to be used. If the workflow is -1 the current workflow is used. If the workflow changes, you need to provide a state transition that leads to 'no state' of the current workflow.
The state transition to be used.
The version comment to be set with the state transition. Note that if the object is checked out, the existing version comment will be overwritten.
The electronic signature that might be required by a workflow state transition. An empty or a null value is ignored.
Description
Sets the workflow state transition for the specified object with an electronic signature.
Syntax
Visual Basic
Public Function SetWorkflowStateTransitionEx( _
   ByVal ObjVer As ObjVer, _
   ByVal Workflow As Long, _
   ByVal StateTransition As Long, _
   ByVal VersionComment As String, _
   ByVal ElectronicSignature As Object _
) As ObjectVersionAndProperties
Parameters
ObjVer
The object version.
Workflow
The workflow to be used. If the workflow is -1 the current workflow is used. If the workflow changes, you need to provide a state transition that leads to 'no state' of the current workflow.
StateTransition
The state transition to be used.
VersionComment
The version comment to be set with the state transition. Note that if the object is checked out, the existing version comment will be overwritten.
ElectronicSignature
The electronic signature that might be required by a workflow state transition. An empty or a null value is ignored.
See Also

VaultObjectPropertyOperations Object  | VaultObjectPropertyOperations Members