code: public function updateTaskInstance($task_instance_id, $task_instance_update_item)
      {
          list($response) = $this->updateTaskInstanceWithHttpInfo($task_instance_id, $task_instance_update_item);
          return $response;
      }
docs: Operation updateTaskInstance
  
  
  
  @param string $task_instance_id ID of the task instance to retrieve (required)
  @param \ProcessMaker\PMIO\Model\TaskInstanceUpdateItem $task_instance_update_item Task instance object to update (required)
  @return \ProcessMaker\PMIO\Model\InlineResponse200
  @throws \ProcessMaker\PMIO\ApiException on non-2xx response