Posted in Approval Processes

Workflows: Approve vs Deny vs Reject

PurchaseApprovalWhile working with customers, I’ve recently noticed that a lot of approval steps in a workflow have three possible outcomes. Consider a Purchase Requisition workflow where an employee wants to buy something and it goes to his/her manager for approval. If approved, the next step is Purchasing.

What actions could the Manager take?

  1. She could approve, in which case the workflow moves forward to Purchasing.
  2. She could reject back to the employee asking for more information in which case it moves backward to the employee.
  3. Or, she could deny the request completely (i.e., reject to discard) in which case the workflow should move forward, skip the Purchasing step and terminate.

With frevvo’s approval workflow software, the approve case is trivial. It’s the default behavior. Reject back to the employee is also straightforward. It’s built-in to frevvo and can be configured for any step.

Deny (reject to discard) is also easy but not so obvious. We’re considering adding this as a built-in feature but you can do this today by taking a few steps.

Step 1. Create an approval section with a Radio button

The radio has two options: Approve or Deny. Deny is the second (last) option and the comment property is checked. If the manager clicks deny, a text box will show up below the radio asking for details. Note the Name (set to RequestStatus) and Options (values are Approve and Deny) properties of the radio control. You can also set the control to invisible and create a rule to show/hide it in the appropriate flow step (Manager in this case). For example:

if (form.load) {
var an = _data.getParameter(‘’);
RequestStatus.visible = (an !== “Employee”);
RequestStatus.enabled = (an === “Manager”);

Step 2. Set Preconditions
PreconditionIn the Flow Designer, select the Purchasing step. Set the precondition as shown in the image to:

RequestStatus.value === “Approve”

This will evaluate to true only if the manager selected approve in the radio we created earlier. If it’s false (manager selected deny), the Purchasing step will be skipped and the workflow will terminate.

Step 3. Setup Reject
SetupRejectIn the Flow Designer, select the manager step and then click the Setup Approval/Rejection link in the Properties panel.

In the wizard that shows up, you can check reject from here, reject to here, change the label of the reject button itself and customize the subject/body of the notification email.

Repeat this step for any other step from which you wish to reject.
That’s it. Now, the manager can:

  1. Select approve in the radio and continue the workflow. It will move to Purchasing.
  2. Select deny in the radio, provide a reason and continue the workflow. It will skip Purchasing and terminate.
  3. Click the reject button and send the workflow backwards to the employee for more information.

Leave a Reply

Your email address will not be published. Required fields are marked *