Handling Errors in Pensions Automatic Enrolment Assessment Multiple Updates Process
Here are some important considerations and handling of errors in the Pensions Automatic Enrolment Assessment Multiple Updates Process.
An important variable is the action parameter Maximum Errors Allowed, which is explained in the relevant tasks.
Payroll Assessment Run Task
- If the Maximum Errors Allowed parameter is set to 20, the Payroll Assessment Run Task process will continue. This is true even if there are errors, and if there are 20 or less errors. If the process finds more than 20 errors, the processing will stop.
- If no errors are found, the Payroll Assessment Run Task is marked as complete.
- If any errors are found, even a number below Maximum Errors Allowed, the Payroll Assessment Run Task is marked as error.
- If the flow task is marked as an error, you must manually skip the task to allow the flow to continue to the next task.
Pension Assessor Multiple Updates Task
- If your Maximum Errors Allowed is set to 20, the Pension Assessor Multiple Updates Task process will continue. Even if there are errors, if there are 20 or less errors found. If more than 20 errors are found, the processing will stop.
- If the number of errors is at or below the Maximum Errors Allowed, the Pension Assessor Multiple Updates Task will be marked as complete.
- If the number of errors is above the Maximum Errors Allowed, the Pension Assessor Multiple Updates Task will be marked as an error.
- If the flow task is marked as an error, you must manually skip the task to allow the flow to continue to the next task.
Run Errors and Warnings Report Task
This task won't normally error, and the Maximum Errors Allowed parameter value isn't used in this process. However, if this task does error, you must manually skip the task to allow the flow to continue.
Run Pensions Automatic Enrolment Report Task
This task won't normally error, and the Maximum Errors Allowed parameter value isn't used in this process. However, if this task does error, you must manually skip the task to allow the flow to continue.
Payroll Assessment Roll Back Task
This task won't normally error, and the Maximum Errors Allowed parameter value is used in this process.
If you've skipped the first task due to a few errors, and your second task also had some errors, you must avoid using the Rollback All option at the flow-level as the process won't perform rollback for the skipped task. In such cases, it's recommended not to rollback, but skip tasks to continue the archive reports, and errors and warnings. You can also run the rollback process separately for the payroll assessment run for the first task.
View Payroll Rollback Errors Task
This task checks if there are any employees for whom the rollback of Payroll Assessment Run wasn't done successfully. If the Payroll Assessment Run was rolled back successfully, then the task is set to Completed. Otherwise, it sets to Complete with alerts. The process generates a log file that shows the count of employees whose Payroll Assessment Run wasn't rolled back. To roll back the payroll run, check the Person Results for these employees.
You can use the Errors and Warnings Report for rollback to view error messages including the employees whose payroll wasn't rolled back successfully.