Updating a process definition

"Dahl, Greg (BLM) - contr" <[email protected]> Tue, 16 Aug 2005 17:16:16 -0500
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <A8155E0D38B9D84D88EAC58C2D8F47BA061EA6EE@blmms060.accounts.root.corp>
I'm trying to add a new process context variable to an existing process.
Several instances of the existing process exist in our Shark workflow
system.
 
I updated the XPDL, and went to the PackageManagement tab in the Shark
Admin and selected the package and pressed update.  Now, my
PackageManagement tab shows two processes with the same name but
different version numbers.
 
I went to the ProcessInstantiationManagement tab and see both versions.
I select the new version and instantiate it.  When I go to the
ProcessMonitor tab, I see my newly instantiated process with the new
variable.  So far, so good.
 
But, the only difference between the two on my Admin screens is the
version number.  In my programming code, I'm calling 
workflowConnection.createProcess(package_id, process_id);
 
Then, when I try to set the new variable on the map, I get an error
org.enhydra.shark.api.client.wfmodel.InvalidData 

This is the same error I would get if the process did not have the
variable defined.  I assume my call to  createProcess() is still
creating the old one.  How do I get it to instantiate a process using
the new definition?  I can't unload the old version because there are
processes using it that are still not finished.

Thanks for any advice,

Greg
******* Confidentiality Notice *******
This email, its electronic document attachments, and the contents of its website linkages may contain confidential health information.  This information is intended solely for use by the individual or entity to whom it is addressed.  If you have received this information in error, please notify the sender immediately and arrange for the prompt destruction of the material and any accompanying attachments.
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws