Re: Find all definition and runtime processes
Gabriel Gruber <[email protected]> Mon, 26 Sep 2005 17:41:14 +0200
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <OF5C795170.4CE4197E-ONC1257088.00556FA5-C1257088.00562CAE@workflow.at> |
try this for 1)
SharkInterface shark = Shark.getInstance();
SharkTransaction t = shark.createTransaction();
ExecutionAdministration ea
=shark.getAdminInterface().getExecutionAdministration();
List ret = new ArrayList();
WfProcessMgr[] mgrs = ea.get_sequence_processmgr(t, 0);
if (mgrs != null) {
for (int i = 0; i < mgrs.length; i++) {
ret.add(mgrs[i]);
}
}
return ret;
cheers,
gabriel
______________________
Mag. Gabriel Gruber
Senior Consultant
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Workflow EDV GmbH, Dannebergplatz 6/23, A-1030 Wien
phone: ++43 - 1 - 7188842 22
fax: ++43 - 1 - 7188842 30
mobile: ++43 - 676 - 3939435
mailto:[email protected]
http://www.workflow.at
[email protected]
26.09.2005 16:32
Please respond to
[email protected]
To
[email protected]
cc
Subject
[shark] Find all definition and runtime processes
Hi all,
1-Is there an easy way to get the list of all the process definitions
available ?
2-For the run timeprocesses, is there a way to get whole list in a single
call ? ... or i need to find each runtime process by ressource.
Thank you in advance,
Nelson
--
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
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