Launch Bonita process from an external apps Bonita 6.2.1
Hi.
I want to launch my process from Java app; My process already deployed and running on Jboss 5.1 (Bonita BPM version 6.2.1).
I tried follow this guide: http://documentation.bonitasoft.com/create-process-instance-and-set-vari... , but i dont know how to build the object for the session "APISession apiSession". If someone knows how to do this please share...
Hi,
To create a new session in V6, you must use the following code:
LoginAPI loginAPI = TenantAPIAccessor.getLoginAPI();
APISession session = loginAPI.login(username, password);
where username and password are username and password stored in bonita database (walter.bates as username and bpm as password for example).
Hope it can help you
Karim