added tasks to processing chain job to calculate the error