How Do I Link a Flow to a Current Flow

In this example, you link the Calculate Prepayment Flow to the monthly payroll cycle to process prepayments using the payroll run results.

You can manually run both of these tasks as standalone tasks, however, by linking the two tasks, you automate the tasks, so that the Calculate Prepayments task runs immediately after completion of the Calculate Payroll run. The Calculate Prepayments task uses the payroll run results from the Calculate Payroll task to process the payments.

In this example, the payroll manager submits the Calculate Prepayments flow to view the payments for the current and previous monthly payroll runs. Rather than run the standalone Calculate Prepayments task, the manager links this task after the Calculate Payroll task so as to process the prepayments using the monthly payroll run results.

Before you begin, complete these tasks:

  1. Create a payroll flow pattern to process a biweekly payroll.

  2. Submit the monthly Calculate Payroll January 2020 flow for the payroll period that ends January 31, 2020.

Submit the Calculate Payroll Flow

  1. Navigate to Payroll in My Client Groups, and click Submit a Flow.

  2. Select the legislative data group.

  3. From the Select a Flow section, search for and select Calculate Payroll. Click Next.

  4. In the General Information section, enter the payroll flow name as Calculate Payroll January 2020.

  5. On the Enter Parameters section, complete these fields.

    This table lists field names and their respective values to run the Calculate Payroll flow.

    Field

    Value

    Payroll Flow

    Calculate Payroll January 2020

    Payroll

    Monthly Payroll

    Payroll Period

    01 2020 Calendar Month

    Run Type

    Regular

  6. In the Schedule section, chose to either run the flow as soon as possible or enter the schedule details.

  7. In the Linked Flow section, click Add.

  8. Enter these details in the row.

    This table lists field names and their respective values to link flows.

    Field

    Value

    From Payroll Flow

    Calculate Payroll January 2020

    From Task

    Calculate Payroll

    To Payroll Flow

    Current Flow

    To Task

    Calculate Prepayments

    Used to Calculate Results

    Select this check box to enable prepayments calculations.

  9. Select the Process After Error check box.

    This allows the tasks in the flow to continue processing, irrespective of a previous task, in the current flow or a cross flow that you have linked, encountering errors. You can later run a warnings or error report to review and analyze the errors and take
  10. Click OK.

  11. Click Submit.

    Go to the Checklist page to view and monitor the progress of the tasks.