RE: howto get name of process definition?

"Neville van Deventer" <[email protected]> Wed, 31 Aug 2005 13:34:25 +0200
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
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?
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