Show TOC

 3.7 Adjusting Workflow Process Flow After Inserting Approval Loop

Use

In this lesson, you move the approval step and the approval step results check into the approval loop so that, after the Edit Relocation Form Again (Employee) step, the workflow can run the process flow again, from the approval step.

You also move the Edit Relocation Form (Administrator) workflow step into the Approved branch of the workflow template so that the HR Administrator receives the form if it is approved, and can save the data to the back-end system.

Procedure

  1. Move the Approved? multiple condition into the approval loop.

    To do so, proceed as follows:

    1. Right-click the multiple condition Approved? , and choose Cut Block from the context menu.

      The system has copied the entry to the clipboard.

    2. Insert the multiple condition in front of the loop symbol.

      Do this by right-clicking the line between the two arrows in front of the loop symbol until the context menu appears. Choose Paste Block .

  2. Move the Approve Relocation Form workflow step into the approval loop.

    To do this, cut the step as described above and insert it directly before the multiple condition.

  3. Move the Edit Relocation Form (Administrator) step into the Approved branch.

    To do this, cut the step as described above and insert it on the Approved line.

  4. Save and activate your workflow template.

Result

Your workflow template now looks like the following figure:

Note Note

If the workflow goes into the Back to Author branch after the Approved? step, it always proceeds with the left branch after the Revised by Author? step, thus the approval loop runs again. The Continue branch after the Revised by Author? step only runs in the case of Approved or Rejected . (See also the remarks for the condition query &PROCSTATE& ≠ RESENT in the previous lesson.)

The first process step in which the employee starts the process is outside of the workflow and is therefore not represented in this graphic. The Edit Relocation Form (Superior) step (which the figure shows) as the first step is the second step of the process.

End of the note.