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

How about downloading a newer, supported version?

Configure a test organization

A brief description on how to set up and manage a test organization in Bonita Studio, for process development and testing.

The ACME example organization

Bonita Studio includes a sample organization, called ACME. This organization contains a small number of users, who belong to different groups with realistic roles.

You can use this example organization to explore how to manage an organization in Bonita Studio, for example by adding a user, or changing the role of a user. You can also use this sample organization to test a process that you develop.

Managing organizations

Within Bonita Studio, more than one organization can be defined. This is useful if you are developing a process that will be deployed in several different organizations. It is also useful for testing, because you can create a reduced version of your organization that has the same structure but fewer users, saving time in managing your test environment.

To an organization, you create the organization, create the group hierarchy, specify roles, and then add users and their memberships.

  1. Start Bonita Studio.

  2. Go to the Organization menu and select Manage…​.

  3. Add a new organization:

    1. Click Add. A line will be added to the table of organizations, with a placeholder name such as Organization1.

    2. Change the placeholder name to the name of your organization, and add a description.

  4. Add groups to your organization:

    1. Select the name of your organization and click Next.

    2. Click Add group to add a group. You can specify the following:

      • the group Name, which is used internally by the Bonita software.*NB: Bonita doesn’t support the '/' character in the group name field. A group name that contains a '/' may lead to unstable behaviour and may be forbidden in the future.*

      • the Display name, which is the group name displayed in lists and wizards

      • the Path, which shows the hierarchical relationship between groups

      • a Description of the group

    3. Click Add group to add the next group, and continue until you have added all the groups required. You can also add a subgroup, by selecting a group and clicking Add subgroup

    4. When you have added all the groups you need, click Next.

  5. Specify roles in your organization:

    1. Click Add, and add a role called member. This will be the default role for users within a group.

    2. Click Add and add the other roles you require. Typically, most organizations have a Manager role so the group manager can be easily identified, but the specific roles you require will depend on your processes. Remember that it is not necessary to copy all the role information from your business organization into your Bonita organization, but instead you should just create the roles that are useful in processes.

    3. When you have specified all the roles you require, click Next.

  6. Add users to your organization.

    1. Click Add. A default username is added to the list of users.

    2. You can change the username, but the value must be in a format the Bonita software can use: only unaccented alphanumeric characters are permitted plus a period (.). One option is to use the personal part of the user’s email address, that is, the part before the @ sign.

    3. Specify a password for the user. The password characters are not displayed, so keep note of the password you choose.

    4. Specify the manager of the user.

    5. In the General tab, specify the Title, First name, Last name, and Job title of the user.

    6. In the Membership tab, specify the groups that the user belongs to, and what role they have in each group.

    7. You can also specify Personal contact and Professional contact information for the user.

  7. Add all the users in your organization. When you have finished, click Finish.

Export and import an organization

You can export an organization definition from Bonita Studio. The exported file is in XML, so can be modified. You can import an organization definition in this XML format that was exported from another Bonita Studio running the same version of Bonita, or that was constructed by some other method but has the same format. You can also import the organization file into Bonita Portal, ready for production.

Modifying an organization

To modify an organization, choose Manage…​ from the Organization menu and use the same dialogs that you used to create the organization. To modify an item in an organization, select it in the item list and modify the information on the right-hand side of the list. To delete an item, select it and click Remove.

Publishing an organization to the Bonita Portal

Publishing an organization means uploading the organization data to Bonita Portal so that you can test your process. To upload organization data into Bonita Portal permanently, so a process can run when Bonita Studio is not running, you need to export the organization from Bonita Studio and import it into Bonita Portal.

To upload the organization data:

  1. Choose Publish…​ from the Organization menu.

  2. Click the organization to be uploaded, and then click Next.

  3. Specify the username and password of the user that will be used to log in to Bonita Portal when a process is started from Bonita Studio. This user must be in the organization you have selected.

  4. Click Publish.

After it has been uploaded, you can modify the organization in Bonita Portal.