WorkflowManagerRaiseTaskCompletedEvent Method
Completes specified task.
Namespace: FileHold.LibraryManagerAssembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.1.0.0
[WebMethodAttribute(Description = "Completes specified task.")]
public void RaiseTaskCompletedEvent(
Guid workflowInstanceGuid,
Guid taskGuid,
TaskApprovalStatus taskApprovalStatus,
string comment,
Guid attachmentUploadToken,
string attachmentFileName,
string password,
int? restartActivity,
Guid? oneTimeUserGuid,
string oneTimeInstructions
)
Parameters
- workflowInstanceGuid Guid
- ID of the workflow associated with the task
- taskGuid Guid
- ID of the task to complete
- taskApprovalStatus TaskApprovalStatus
- The approval status if the task is an Approval task
- comment String
- Optional comment for review or approval
- attachmentUploadToken Guid
- Optional upload token for a review or approval feedback document
- attachmentFileName String
- Name of the approval feedback document
- password String
- User's password, by default only required for approval
- restartActivity NullableInt32
- When postponing approval, this can be set to the index of activity from which the workflow will be restarted
- oneTimeUserGuid NullableGuid
- When postponing approval, this can be set to the ID of the user for which a one-time review activity will be created;
in order to specify more details of the one-time review activity, use the RaiseTaskCompletedEventV2() method instead
- oneTimeInstructions String
- Instructions for the one-time review activity