This documentation is about a version that is out of support, here is the latest documentation version.

How about downloading a newer, supported version?

Updating Bonita Studio

How to update your existing Bonita Studio to a newer version.

Updating to a new Main version

  1. Read the version release notes to understand the major changes and their possible impact on your projects

  2. Download the latest Bonita Studio version:

  3. Install Bonita Studio

  4. Launch it

  5. If you are using a GIT repository

    1. In your previous studio, make sure you have pushed all the latest changes to your project

    2. Clone your project in the latest Studio version, some artifact migrations will require actions/decisions from your part

    3. Repeat for each project that needs to be moved to the new version

  6. If you are not using a GIT repository

    1. In your previous studio, export your project as a BOS file

    2. Import the .BOS in the latest Bonita Studio version, some artifact migrations will require actions/decisions from your part

    3. Repeat for each project that needs to be moved to the new version

Updating to a new Maintenance version (Enterprise only)

Maintenance versions are cross-compatible, meaning that it is not required that your Bonita Studio version matches the target Bonita Runtime version.

For example, your production runtime can be in 2021.1-0408 and your Studio in 2021.1-0218.

Project update

When cloning or importing an existing project from an older version of the same base version, the target runtime version is not automatically updated.
This behavior allows other project contributors to keep using an older Studio version without needing to install additional dependencies.
It is perfectly fine to reference a different target runtime version than the one currently run by the Studio.
However, you can update this version from the Edit project information…​ contextual menu or by using the pencil button in the project Overview.
Before updating this version ensure that collaborators of the project have either:

  • Installed the same Studio version

or

  • Installed the required dependencies for this version:

    • By installing and starting a Studio of this version at least once

    • By downloading those dependencies from the Customer Service Center (Maven repository) and copying them into their local Maven repository

Keeping the target runtime version up-to-date may be useful in some cases like including bug fixes or having a reliable dependency resolution in case of dependencies updates (CVE fixes).

Updating your project to the project composition

Version 2021.2 introduces major changes to the way Bonita Studio manages projects. When importing or cloning your project in this version or any later version, it will be transformed into a Maven project.
All your project dependencies (connectors, libraries, actor filters…​) will then be managed with Maven.

All pre-existing custom extensions (actor filters, REST API Extensions, Themes & connectors) will not be migrated to Maven projects and will remain in their pre-2021.2 form. However they remain compatible with your project. Moving to the 2021.2 version does not require any re-write of your custom extensions. We do recommend migrating them to standalone dependencies as Maven projects to fully take advantage of the project composition.

BOS Import

In the BOS import wizard, an additional step has been added. Bonita Studio is going to scan your project dependencies and try to find them on the configured Maven repositories (by default Maven Central is configured).

If the dependencies are found then they will be used as remote dependencies (not copied in your project) otherwise they will be copied in the project and will be committed with your project sources.

In both cases, dependencies that are in the project but are not used will not be added in the migrated project unless you add them manually (by ticking the corresponding checkboxes).

You can also remove the other dependencies (at your own risk).

Project cloning

An Internet connection is mandatory to fetch bonita dependencies from Maven repositories during the project migration.

If your project is cloned through GIT, there is no extra step in the wizard. The migration is automatically applied to the checkouted branch.
A MIGRATION_NOTES.adoc file is generated at the root of the project to detail the major changes occurring at migration.
It is up to you to keep it in the project or not (later migrations will be appended to this file if it exists.)

The dependencies are also analyzed by the studio but the result of the analysis is directly applied to your project.
The studio is going to scan your project dependencies and try to find them on the configured Maven repositories (by default Maven Central is configured).

If the dependencies are found, then they will be used as remote dependencies (not committed in your project), otherwise they will be added to the project local repository store and will be committed to your project.

Impact on Extension creation

From Bonita 2021.2 on, it will no longer be possible to create connectors, actor filters, groovy scripts and themes from Bonita Studio. You will have to use the corresponding Maven archetypes.

If your project already has actor filters, connectors, groovy scripts or themes, you will still be able to edit them from Bonita Studio. However, we recommend migrating them to standalone dependencies.