setter methods of runtimeAPI

View: New views
1 Messages — Rating Filter:   Alert me  

setter methods of runtimeAPI

by Kostas Vassiliadis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

is there a specific prerequisite to use the setters of runtimeAPI? For example
 - setActivityInstanceVariable
 - setProcessInstanceVariable

I am able to get attributes of say an activity instance or a process instance, I get their UUID's but when I use either UUID with the proper setter method I get an exception of the sort
- org.ow2.bonita.facade.exception.ActivityNotFoundException: Can't find activity CreateJCA-1.0-CreateJCA-1.0$897-BonitaInit$897
- org.ow2.bonita.facade.exception.InstanceNotFoundException: Can't find an instance with uuid CreateJCA-1.0-CreateJCA-1.0$929

Thank you in advance