Hi all,
i am in front of a strange situation. I am using Bonita v4.1 as a library within my application which is a servlet.
I deploy a process BAR file successfully. Then I instantiate the process and get hold of the instance's UUID. Then I use this UUID value to get the instance's total number of global variables which is correct according to the XPDL file. In other words I have a UUID of the process instance.
However when my next action is to set one of this instance's variable using runtimeAPI.setProcessInstanceVariable(proc_inst_uuid,....) where proc_inst_uuid has the value of the instance, I get the following exception
SEVERE: exception while executing command org.ow2.bonita.facade.APIInterceptor$APIInterceptorCommand@8777c
org.ow2.bonita.facade.exception.InstanceNotFoundException: Can't find an instance with uuid CreateJCA-1.0-CreateJCA-1.0$353
BUT the uuid CreateJCA-1.0-CreateJCA-1.0$353 is the one I get when I instantiate the process!!! what is wrong???
Thanks in advance