Create a new project as Application

Prerequisites

Please check the prerequisites

Create a new project

  1. Run Bonita Studio 2024.3 and create a new project.

  2. Configure the project environment

  1. Validate the project

  2. Forms need to be created manually for each interaction with user.

    1. Select the Pool > Execution, click on the *Instantiation form tab*, and click on the pencil on the right of the field Target form, it should open the UI designer.

    2. Repeat this previous step for each form of your process.

  3. Admin and user app are now available as extensions, the Bonita Admin App is added by default on new projects, if you want to include the Bonita User App in your Application, you need to add it manually from the Marketplace.

    1. Go to the Extension view

    2. Open Marketplace and filter on “Application" type

    3. You can now add the Bonita provided applications to include in your application.

  4. At the root of the project folder, build application as docker image with the #docker-package command.

  5. Find the docker image name with docker images to be sure it’s being created.

  6. To run your application, follow the Deploy Bonita Runtime with Docker. You need to use the docker image name you found in the previous step.

  7. Go to http://localhost:9000/bonita. Then you can log in with the credentials and run the process defined in your project from the Bonita User application.

  8. The process is started, a new case is available from the Task list. Congratulations, you have created your first application!

In this case, the application is running with an H2 embedded database, and it’s not recommended for production.

Update an existing project using Bonita Studio

  1. Run Bonita Studio 2024.3 and import from .bos or Git your project

  2. Migrate your project

  3. To build and run your project migrated in latest version, follow the same previous step section command.