Run a Report After a Process Errors

You can use the Allow Processing option in the Payroll Flow Patterns UI on the Tasks tab to run a report or process after a prior process has errors.

When there are partial errors in a payroll flow, the process goes into an error state, and you can't move ahead. You can continue with the flow only after you take corrective action on the tasks that have errors. Set the value of the Allow Processing column as Yes for each task in the flow that you want to run, irrespective of the status of a prior task, in the same flow or a cross flow. The tasks in the flow continue to process until it encounters a manual task or a task on the checklist that doesn't have the Allow Processing value set to Yes.

For example, if the Calculate Payroll flow has a few records that have errors, you may want to run a report to study and understand the generated errors. Reports can be run either as:

  • A separate task in a single flow. For example, the Calculate Payroll Flow may have a separate task to run all the reports after completion of the Calculate Payroll task. In this case, the Reports task can't run if the Calculate Payroll task errors.

  • A separate flow. For example you can have a separate flow for all the reports and you can have cross flow interaction to link this flow to the Calculate Payroll flow. Once the Calculate Payroll flow completes, it initiates the Reports flow. You can't run the Reports flow if the Calculate Payroll flow errors.

In both of the above cases, set the Allow Processing option on the Reports task to Yes, so that the reports are generated, even if the Calculate Payroll task has errors. You can view the report to understand the errors and take corrective actions.