All Activities of Instantiated Process

Gokcen Iskender <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi,
Here is the working code for how to get the activities
of a not started process:

PackageAdministration pa = (PackageAdministration)
(new SharkAdministrator()).getPackageAdministration();
		 String content = new
String(pa.getPackageContent(packageDefID), "UTF8");
	 
		 JaWE.getXMLInterface().setValidation(false);	
		
JaWE.getXMLInterface().putPkgIdToFileContentMapping(packageDefID,
content);
		 org.enhydra.jawe.xml.elements.Package
pkg=JaWE.getXMLInterface().openPackage(packageDefID,
true);
	 
		 org.enhydra.jawe.xml.elements.WorkflowProcesses
wps=(org.enhydra.jawe.xml.elements.WorkflowProcesses)pkg.get("WorkflowProcesses");
		 org.enhydra.jawe.xml.elements.WorkflowProcess
wp=wps.getWorkflowProcess(processDefID);
		 org.enhydra.jawe.xml.elements.Activities
acts=(org.enhydra.jawe.xml.elements.Activities)wp.get("Activities");


Regards.
		 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
message.footer (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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.