I have requirement to let the user 'hold' the case/process-instance with him. I can compare the hold state to the 'Suspended' state of Human-Task life-cycle.
The TaskClient.suspend() just takes the task-id and transfers it's state.
But I need to update the task form date as well.
I am not sure of how to do this.
I am planning to explicity call TaskClient.setDocumentContent() and save the data and then call TaskClient.suspend().
Is it a correct approach ?