UpdateWorkflowExecutionActivityDTO updateWorkflowExecutionActivityDTO = new UpdateWorkflowExecutionActivityDTO()
To update the activity of a workflow, an activity DTO is used. The DTO has several parameters that are set by the method to update the activity.