WorkflowManagerRaiseTaskCompletedEvent Method |
Completes specified task.
Namespace:
FileHold.LibraryManager
Assembly:
FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.0.0.0
Syntaxpublic void RaiseTaskCompletedEvent(
Guid workflowInstanceGuid,
Guid taskGuid,
TaskApprovalStatus taskApprovalStatus,
string comment,
Guid attachmentUploadToken,
string attachmentFileName,
string password,
int? restartActivity,
Guid? oneTimeUserGuid,
string oneTimeInstructions
)
Parameters
- workflowInstanceGuid
- Type: SystemGuid
ID of the workflow associated with the task - taskGuid
- Type: SystemGuid
ID of the task to complete - taskApprovalStatus
- Type: FileHold.Common.WorkflowEngineTaskApprovalStatus
The approval status if the task is an Approval task - comment
- Type: SystemString
Optional comment for review or approval - attachmentUploadToken
- Type: SystemGuid
Optional upload token for a review or approval feedback document - attachmentFileName
- Type: SystemString
Name of the approval feedback document - password
- Type: SystemString
User's password, by default only required for approval - restartActivity
- Type: SystemNullableInt32
When postponing approval, this can be set to the index of activity from which the workflow will be restarted - oneTimeUserGuid
- Type: SystemNullableGuid
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
- Type: SystemString
Instructions for the one-time review activity
See Also