Re: howto get name of process definition?

David Delbecq <[email protected]> Thu, 1 Sep 2005 14:26:12 +0200
Newsgroups gmane.comp.java.enhydra.shark
Organization Institut Royal Météorologique
Message-ID <[email protected]>
Thanks Neville,

Unfortunately this code need at least one existing WfProcess for the given definition,
this is of no help when you want to create a list of existing definition so user can start
one of them...

Le Mercredi 31 Août 2005 13:34, Neville van Deventer a écrit :
> Hi David,
> 
> 
> If proc[i] is a WfProcess, which is retrieved from the
> WfProcessMgr.get_sequence_process( 0 );
> 
> then
> 
> proc[i].key(),         // The Unique ID of the Process
> proc[i].name(),        // The ID Field in the XPDL
> proc[i].description(), // The Name Field in the XPDL
> proc[i].state(),       // The Current State of the Process
> 
> Hope this Helps,
> 
> Neville van Deventer
> 
> -----Original Message-----
> From: David Delbecq [mailto:[email protected]] 
> Sent: 31 August 2005 01:21 PM
> To: [email protected]
> Subject: [shark] howto get name of process definition?
> 
> How do i get the name of a process definition?
> 
> I have a WfProcessMgr, but calling name() on it returns the internal unique
> name used by shark. I'd like to get the the 2 fields 'id' and 'name' 
> from the following tag of the given process definition. 
> <WorkflowProcess AccessLevel="PUBLIC" Id="Test" Name="Test Workflow">
> 
> Does someone know how to do it?
> 
> --
> David Delbecq
> Royal Meteorological Institute of Belgium
> 
> -
> Is there life after /sbin/halt -p?
> 
> 
> 
> 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?
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