How Do I Bind a Rollback Action to a Task In a Payroll Flow

This topic explains how you can define flow task parameters, so that a rollback action on the flow tasks work correctly. If you don't bind the parameters for the rollback action correctly, the rollback isn't successful.

Use the Execution Mode option to define the action for a task within a flow. The actions you can select include:

  • Mark for Retry

  • Rerun

  • Roll Back

  • Submit

The parameter basis you select for the task parameter controls how the application derives the value for the parameter. The basis value further specifies the value the application uses for the parameter when it executes the action.

For example, for the Calculate Payroll task, the Payroll Process parameter for the Submit task action generates an output value for the Payroll Action ID. The Retry task action then uses this Payroll Action ID.

Follow these steps to define flow task parameters for a Rollback action.

  1. Use the Payroll Flow Patterns task under Payroll from My Client Groups > Show More on the Home page.

  2. Search for and open, in Edit mode, the flow pattern for which you want to define a Rollback action.

  3. Under the Tasks tab, click Go to Task for the task you want to roll back. By default the task parameters are all in Submit mode.

  4. To change the execution mode, use the Execution Mode field and select Roll Back execution mode from the drop down list.

  5. Choose the Parameter Basis for the parameter as Bind to Flow Task and the Basis Value as Action ID.

The Parameter Basis binds the parameter to a flow task, such as Rollback corrective action. When you roll back the task, the application uses the output of the Submit task action, which is the Payroll Action ID. The application uses the Action ID as the input parameter for the roll back action.

Evaluate each of the flow tasks and flow task parameters and select the correct Parameter Basis and Basis Value, to avoid interlocks or incorrect parameter bindings.