M-Files API 22.6.11519.0
UpdateTask Method
VaultApplicationTaskOperations Object : UpdateTask Method
The ID of the task to update.
The state to set for the task.
The progress level to set for the task.
Description
Updates the task information to the server.
Syntax
Visual Basic
Public Sub UpdateTask( _
   ByVal TaskID As String, _
   ByVal NewState As MFTaskState, _
   ByVal Progress As String _
) 
Parameters
TaskID
The ID of the task to update.
NewState
ValueDescription
MFTaskStateCanceledTask processing has been canceled.
MFTaskStateCompletedThe task has been successfully processed.
MFTaskStateFailedProcessing the task has failed.
MFTaskStateInProgressThe task is currently being processed.
MFTaskStateNoneState information does not apply to this task.
MFTaskStateWaitingThe initial state. The task is pending for processing.
The state to set for the task.
Progress
The progress level to set for the task.
Remarks

Requires M-Files 19.3.7499.1 or later.

This method is available only if M-Files API is used in the server interface mode.

See Also

VaultApplicationTaskOperations Object  | VaultApplicationTaskOperations Members