Skip to content

Adding tables and workflow elements to a HCL Leap form

This tutorial provides information and lessons about more advanced Leap topics. Basic form design is not covered in this tutorial.

Prerequisites

This tutorial contains the following lessons:

  • Tables – Adding tables to your form to collect data from users.
  • Stages – Adding workflow to your form, turning it into an application. The Stages section covers both basic workflow and conditional workflow.
  • Access – Adding permissions to the stages on your form, which allows specific people to access the form at different points in the workflow.

If you have no experience with Leap, complete the Building a Survey application tutorial to learn the basics of building and deploying applications in Leap. This tutorial does not cover concepts of form design, deployment, or reviewing submitted data.

Go to the Leap community on developerWorks, and import ExpenseReport.nitro_s into Leap. Use the following instructions to complete the partially complete Expense Report application.

Estimated time that is required to complete the entire tutorial: 50 - 60 minutes

  • Adding tables to forms
    Adding tables to your form is a useful way to gather information from users in a contained space. You can specify exactly what information you want the user to enter by selecting form items to use as the table headings. The user can add as many rows into the table as required to submit their data, but the table is contained within a predefined size on the page.
  • Adding workflow Stages to a form
    Leap uses Stages to add workflow to your form. Workflow describes various lifecycle steps that are associated with the form. Defining multiple connected Stages creates the workflow, where each stage defines its own form behavior, access rights, and navigation steps. In this tutorial, define the workflow steps that are required for the approval of the form.
  • Applying access control through Roles
    Access control defines who is able to view and modify the form in different stages. For example, only the form administrator can change the layout of the form, while user access is restricted to opening and submitting the form. Creating this access control is done with Roles.
  • Tutorial summary
    You successfully completed this tutorial, which demonstrated an application with workflow and access permissions.

Parent topic: Tutorials for app design