Leave approval workflow using CloudCodes gFlow

Continuing from previous post, today we will show how easy is to configure typical leave approval using CloudCodes gFlow.

  1. Click on Admin/Setup section from the top menu.
  2. Click on Forms/Flows
  3. Click on Add Flow
  4. Provide the basic information about the approval
  5. Provide approval route information
  6. Configure form
  7. Define approval chain

Basic Information for Approval


The basic information approval includes

  1. Title of the approval workflow i.e. “Leave Approval Form” in this scenario.
  2. Description i.e. “Leave approval form request”.
  3. Organisation Unit(OU)to whom the form have to be made visible. This provides a flexibility to create leave form for each OU or create different approval chain for different OU.
  4. Form category to which the approval form will belong.
  5. If the form is set to enabled then it is displayed in the list of forms else it is store in the archive. We do maintain versioning of forms.

Approval Route Information


The approval route information includes

  1. Define the approval category/group. For e.g. if the leave approval has multiple phases or stage i.e. Internal Team, Human Resource, Finance then we can create 3 approval group and configure approver for each group.
  2. The approval across group can work in a sequential manner or in parallel depending upon the Approval Mode. For e.g. if it set to sequential then Internal Team will go for approval first and once all approvers are done then only it goes to next group.
  3. The approver type define whether the approvers can be pre-define or user define. In case of pre-define the administrator while creating the form can define the approval chain. In case of user define the end user can define the approval chain.
  4. Approver File Upload can be used to configure whether approver can upload the file or not.
  5. Approver process if flow is Resubmitted is configure to ensure how cancel approval can be sent for approval again. If it set to “Start from begining”  then re-submitting for approval will have all approvers irrespective of whether they have approved previously and if it set to “Continue where left off” then re-submitting for approval will only have the approvers who have rejected and pending for previously.

Configure Form


Configuring form is creating the approval form. The form can be categorized into multiple sections. Each section have their own fields relevant for approval. The section can configured to display in

  • One column layout
  • Two column layout

Configure the field as required by the approval form. Each field can be define to store particular type of data such as

  • Text/String
  • Date

We can also define list of values to be displayed in combo box. The type of field is “Select List” for such list of values.

Define Approval Chain


Configure the approval chain for the leave approval. For e.g the approval chain is

  1. On submit, the manager of the user should approved it.
  2. After manager, the HR should approved it as it need to check the leaves details.
  3. The HOD can be marked as FYI.

Once its save the user can see their requests within the form category specified i.e. HR in this case.


The use clicks on Start for the Leave  approval and provide information and submit for approval.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: