Hi,
I’m using bonita engine API, I’m wondering how can I update or mantain the process without cleaning database using new bar file.
when I try to deploy and enable the new bar file I got the exception message :
Process Already exist.
org.bonitasoft.engine.exception.AlreadyExistsException: USERNAME=*** | The process ****** in version 1.0 already exists.
at org.bonitasoft.engine.api.impl.ProcessAPIImpl.deploy(ProcessAPIImpl.java:727)
at org.bonitasoft.engine.api.impl.ProcessAPIImpl.deployAndEnableProcess(ProcessAPIImpl.java:693)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:363)
at org.bonitasoft.engine.api.impl.ServerAPIImpl$1.call(ServerAPIImpl.java:332)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:288)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIInTransaction(ServerAPIImpl.java:339)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:274)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:128)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:88)
at com.sun.proxy.$Proxy29.deployAndEnableProcess(Unknown Source)