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.
Move the
Approved?
multiple condition into the approval loop.
To do so, proceed as follows:
Right-click the multiple condition
Approved?
, and choose
Cut Block
from the context menu.
The system has copied the entry to the clipboard.
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
Insert Block
.
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.
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.
Save and activate your workflow template.
Your workflow template now looks like the following graphic:
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
. (Also see 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 that the graphic shows as the first step is the second step of the process.