Re: All Activities of Instantiated Process

Monique Maker <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hello Gokcen,

Looking in the code you supplied, it seems you are looking for something else. As far as I know, JaWE is used as library in Shark. There should be another mail-list for JaWE - try to search on your problem in it.

Best Regards,
Moniqe


Gokcen Iskender wrote:

>Hello Monique,
>Thank you for the answer.
>I searched Shark source codes, and in EngineTreeModel
>and ActivityManagement classes I think I found how to
>get the activities. The source code is this:
>String pkgPath =
>"D:\Shark-1.1\repository\external\simple_nonblocking.xpdl";
>org.enhydra.jawe.xml.elements.Package
>pkg=JaWE.getInstance().openDocument(pkgPath,false,true);
>    	 org.enhydra.jawe.xml.elements.WorkflowProcesses
>wps=(org.enhydra.jawe.xml.elements.WorkflowProcesses)pkg.get("WorkflowProcesses");
>		 String pdId="";
>		 try
>{pdId=Shark.getInstance().getAdminInterface().getAdminMisc().getProcessDefinitionId(((WfProcess)process).key());}catch
>(Exception ex){}
>		 org.enhydra.jawe.xml.elements.WorkflowProcess
>wp=wps.getWorkflowProcess(pdId);
>		 org.enhydra.jawe.xml.elements.Activities
>acts=(org.enhydra.jawe.xml.elements.Activities)wp.get("Activities");
>
>
>In openDocument line I get the following exception:
>Missing participant cursor in property file !
>Missing process cursor in property file !
>Missing subflow activity cursor in property file !
>Missing block activity cursor in property file !
>Missing start cursor in property file !
>Missing end cursor in property file !
>Missing generic activity cursor in property file !
>Missing route activity cursor in property file !
>Missing transition cursor in property file !
>Missing self routed transition cursor in property file
>!
>Missing circular transition cursor in property file !
>
>What can be the problem?
>Regards
>
>--- Monique Maker <[email protected]> wrote:
>
>  
>
>>Hello Gokcen,
>>
>>
>>In short: in the described state you can't get the
>>process activities.
>>
>>
>>For more details search the mailing list - this
>>topic was discussed 
>>several times.
>>
>>
>>Best Regards,
>>
>>Monique
>>
>>
>>Gokcen Iskender wrote:
>>
>>    
>>
>>>Hi,
>>>How can I get all activities of the instantiated
>>>process? The process is not started so,
>>>get_sequence_step does not work.
>>>
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam?  Yahoo! Mail has the best spam
>>>      
>>>
>>protection around 
>>    
>>
>>>http://mail.yahoo.com 
>>>
>>> 
>>>
>>>      
>>>
>>    
>>
>>--
>>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
>>
>>    
>>
>
>
>__________________________________________________
>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.