1.8.4. Manager Approval Stage

Log in as the pierce user.

Open the current task list BPM → Process tasks. There is the Approval task there.

TaskListApproval

Open the Process Instance Editor.

ProcInstanceEditApproval

Pay attention to the Tasks table. The previous task Validation has been completed with the Valid outcome, and two new Approval tasks were created for managers pierce and roberts.

Approve the contract pressing the Approve button.

Then log in as roberts. Open the contract from the list Application → Contracts.

User roberts has an uncompleted task, so the procActionsFrame displays Approve and Reject actions. Click the Reject button.

CompleteApprovalForm

When we were defining the Reject outcome in the model designer, we set a commentRequired form parameter to true, therefore you see that the comment is required in the task complete form. Enter the comment and press OK.

One of the managers has rejected the contract, so the Not approved state should be assigned to the contract. Let’s check it. Open the contract.

ContractEditNotApproved

The approval process is completed with the Not approved state.