Run a process in Bonita Studio

You can run a process from Bonita Studio. Bonita Studio includes a test environment with all the components required to execute a process.

When you run a process from Bonita Studio it runs on the local Bonita server. The server includes an Java application server (Tomcat), two databases (h2), and Bonita Runtime. Running a process from Bonita Studio is intended for testing during process development.

Before you can run a process, you must configure the process and configure the organization.

To run a process, you can :

  • Right click on the process diagram on the project explorer, and select the process to run from the run menu.

  • Open the process diagram and select the pool, then click Run in the Cool bar. The process in the selected pool runs. Only one pool can be run at a time.

If you are using the Enterprise, Performance, Efficiency, or Teamwork editions, you can select the environment in which to run the process. The process must be configured for the environment in which it runs.

There are two modes in which you can run a process, standalone and portal:

  • Standalone mode uses templates to contain the form application, These templates are editable in Studio. When you run a process from the Studio, it runs in standalone mode.

  • Portal mode uses a different container. When you run a process from the Portal, it runs in portal mode. This means that if you include a script in the templates, which are the standalone container, the script cannot be called by the process when it runs in portal mode.

To include a script in a process so it can be used in portal mode, there are the following options:

  • In the form, add an HTML widget that contains it``.

After a process is deployed and initialized in Bonita Portal, it is run by starting a case.