Completes a given approval task specified by WorkflowTaskCompleteParams (TaskID), adds notes, and triggers parameters for the task given in WorkflowTaskCompleteParams (Note, TriggerParams).
This function, which is asynchronous, sends a signal to the workflow engine to complete the task specified by the "TaskID". You can check the task status to ensure that the task has been completed successfully.
Note: This function is available only for the approval tasks that possess all the follwing features:
- Type "U".
- Operation "P".
- Status "W" or "G".