The task id is used for that purpose. (taskAction.getTask().getId())