Bonitasoft

How to Set up BonitaSoft BPM with Tomcat and Mysql

Before setting up Bonitqasoft you need following: 1. Latest version of Bonita Open Solution Tomcat and Mysql Bundle.2. Java 1.6 version and set JRE_HOME and set JAVA_HOME system variables.3. Mysql database. Follow below steps to configure BonitaSoft with Tomcat and Mysql : 1.  Create two databases named bonita_history and bonita_journal. Commands: Create database bonita_history;Create database bonita_journal; Step 2. Create user […]

Bonitasoft Groovy Script

Bonitasoft Groovy Scripts to Get Users Data

Using below Groovy Script code you will get the complete information of a particular user in Bonitasoftt To get Manager Email address in Bonitasoft: ${import org.ow2.bonita.facade.IdentityAPI;import org.ow2.bonita.facade.identity.User;IdentityAPI api = apiAccessor.getIdentityAPI();User user = api.findUserByUserName(processInstance.getStartedBy());User manager1 = api.getUserByUUID(user.getManagerUUID());return manager1.email;} To get Professional Email of a user : ${import org.ow2.bonita.facade.IdentityAPI;import org.ow2.bonita.facade.identity.User;IdentityAPI api = apiAccessor.getIdentityAPI();User user = api.findUserByUserName(processInstance.getStartedBy());User manager1 […]