Create a new project as Application

Prerequisites

Please check the prerequisites

Create a new project

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

  2. Configure the project environment

  3. Validate the project

  4. 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.

  5. 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.

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

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

  8. 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.

  9. 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.

  10. 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 2023.2 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 [application-flow] section command.