Example: Create a Workflow App

The following image shows a simple workflow for making a purchase request.

Workflow example

The workflow applies workflow activities through the following steps:

  1. A user submits a request via their app.
  2. The request status is set to, "Pending Approval."
  3. The request requires manager approval to move forward. A specific single user is identified. If the manager disapproves, the following steps occur:
    1. The request status is set to, "Closed Rejected."
    2. The requestor receives an email indicating the rejection.
    3. The process ends.
  4. If the manager approves, and the cost of the request is less than or equal to $500, the following steps occur:
    1. The request status changes to, "Approved."
    2. The requestor receives an email indicating the approval.
    3. The process ends.
  5. If the manager approves and the cost of the request is greater than $500, the request requires group approval to move forward. Only two members of the group need to approve.
  6. If the group disapproves, the following steps occur:
    1. The request status is set to, "Closed Rejected."
    2. The requestor receives an email indicating the rejection.
    3. The process ends.
  7. If the group approves, the following steps occur:
    1. The request status changes to, "Approved."
    2. The requestor receives an email indicating the approval.
    3. The process ends.