Abstract
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.
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.
Specify your approval process using (pseudo) workflow notification:
In general, the approval app is built on four stacks:
Each of those four stacks is represented in Simplifier by a corresponding feature:
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.
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:
You can use Simple Form widget (group) for the request form:
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.
The CRUD (Create-Read-Update-Delete) operations are implemented as Connector calls using SQL statements:
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.
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:
You can use:
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.