jmix-commercial-addons-demo-2
Jmix Commercial Add-ons Demo
This project includes the following Jmix commercial add-ons:
Demo Data and Process
The project contains the data model, UI and BPMN definition demonstrating the process of preparing the workspace for new employees. The process involves functionality of BPM add-on.
The data model consists of the following entities:
When you start the application for the first time, it automatically deploys the
process and creates the following users:
- the standard admin with full rights to the application. However, he cannot start the workspace preparation process.[admin]
- hasAlice Brown [alice]
role, can start the workspace preparation process and check completed requests.HR Manager
- hasRobert Taylor [bob]
role, can define software systems in the application and grant permissions to them.System Administrator
- hasLinda Evans [linda]
role and is set as coordinator for theCoordinator
department. Can allocate physical workspace for new employees working in the office.Operations
- a new employee. Just a user, doesn't have access to any system activity mentioned above.Susan Baker [susan]
All users except
have password
. The
user has
password.
Below is a brief description of the business process of a workspace preparation for a new employee:
- The HR Manager creates a new request for an employee and starts the process by clicking a button in the Workspace requests view.
- The process creates a user task for a System Administrator. The user task opens the Software requests view, allowing the System Administrator to add
records indicating permitted software to theSoftwareRequest
entity. After the task is complete, the process writes a log message to theWorkspaceRequest
about granted permissions.WorkspaceRequest - If the work type is
, then the process creates a user task for a Coordinator of the employee's department. The user task opens a dialog where the coordinator enters a workspace description: where it is located, etc. After the task is complete, the process writes a log message to theOffice
entity with the workspace description.WorkspaceRequest - If the work type is
, the process doesn't create any task for a Coordinator and goes straight to join with the System Administrator branch.Remote - When tasks in both branches are finished, the process creates a user task for the HR Manager to check the completed request. The task shows the Review workspace request view.
- After the HR Manager completes the
task, the process ends.Check request
Demo Scenario
- Run the application
- Login as
with passwordalice
. You are an HR manager and you can start workspace preparation processes.1- Open Application -> Workspace requests
- Click Start workspace preparation process button
- Select
in Employee field andsusan
in Work type fieldOffice - Click OK
- Login as
with passwordbob
. You are a system administrator and you can grant permissions to software systems.1- Open BPM -> My tasks
- Select
in the left panel and open the task in the right panelGrant system permissions - In the Software requests window, create a few software request items. In the edit screen of each item, select a software system and tick the Permission granted checkbox. Then click OK in Software requests window.
- Login as
with passwordlinda
. You are a coordinator and you can allocate physical workspace for office workers.1- Open BPM -> My tasks
- Select
in the left panel and open the task in the right panelAllocate workspace - Enter a workspace description in the Allocate workspace dialog, then click Complete task
- Login as
again.alice- Open BPM -> My tasks
- Select
in the left panel and open the task in the right panelCheck request - Review the Process log field and click OK