This article will guide you through the process of implementing an approval app with Simplifier.
Based on an example app, we will present a step-by-step procedure which can be generalized and adapted to any other approval process.
Step 1 – Specify Process Workflow
Specify your approval process using (pseudo) workflow notification:
Step 2 – Use Simplifier Features
In general, the approval app is built on four stacks:
- User Interface: How should the user interface of the app should look like? Which actions should be possible? What are the user stories?
- Process Logic: What is the process logic? How does the workflow look like?
- Data: Which data is required for implementing the workflow? Are there connections to other data systems?
- User: Who will use the app? Which user groups have to be considered?
Each of those four stacks is represented in Simplifier by a corresponding feature:
- UI Designer: The UI can be built in a “no-code” way using predefined widget groups, and a WYSIWYG live preview.
- Process Designer: Business logic is modelled using drag-and-drop components which implements the user stories.
- Database Designer: Database schemes can be visualized and managed without a line of code.
- User Management: The build-in user management allows secure role and group assignments.
Accordingly, it is no problem to derive a ready-to-use specification from the workflow from Step 1, so that the team can easily start implementing the approval app.
In the following, we will go through this process of realizing an approval workflow with Simplifier based on the example app (see Abstract).
Nevertheless, this procedure of mapping an approval workflow to the Simplifier components is applicable to any other process.
Step 3 – Create Request
To start with, think about which information is required to start the approval process (e.g., in case you want to pass through the information to another system like the ERP system, which input data would be necessary). Based on this consideration you can start building the UI and data components using the database designer and connectors:
- User Interface: design your request form for creating a request using the widget groups and the WYSIWYG in the Simplifier UI Designer.
- Database Designer: use the database designer to manage business and process data.
- Business Logic: build connector calls for CRUD operations and use them in the stories.
3.2. Database Designer:
Depending on your set up, your business and process data can be hold in one single database table (like in our running example), or you have several database tables which are related using foreign keys. In addition, you can also add a changelog database table which tracks the process history.
3.3. Business Logic:
The CRUD (Create-Read-Update-Delete) operations are implemented as Connector calls using SQL statements:
Step 4 – Inform Responsible Person
4.2. Business Logic:
Email templates can easily created using HTML-format. In addition, you can use mustache notation for including variable holders (e.g., for salutation, etc.), which are filled at runtime.
For implementing logic formulas of the process workflow (if X then Y else Z), you can simply add logic elements in the Process Designer. Condition elements can then be configured using variable values from the data workbench, input values from the UI, auto fields, or explicity entered constant values.
Step 5 – Check Request
As next step, you should think about what the responsible person does with the request (e.g., the manager approve/reject the request, or in case of a multi-step approval process he forwards it, and adds or edits information, if necessary). Based on this consideration you can develop further your UI and business logic:
5.2. Business Logic:
Step 6 – Process Decision
Finally, you should think about what are the consequences of the decision (e.g., emails have to be sent to inform the person involved). Based on this consideration you can finalize your business logic and user management:
As you have seen, it is no problem to digitalize your approval process with a Simplifier App.
The presented procedure – starting with a workflow notation, using Simplifier Features, and develop the app step-by-step – can easily be adapted for any other approval process.
With this general approach, you can even cover quite customized processes, which normally is not feasible with out-of-the-box business process modelling tools.