Select Process How To

"Frans Thamura" <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi All,

I want to port the process monitoring of Shark Admin to become a web based.

i got this script from JSPUtilities.

org.enhydra.shark.api.client.wfmodel

and this script below.

Anyone can give me logic how the process monitoring (Select process) work

I try below script and got this result:

Process_Repository#1#Process_Repository_Wor1
Process_Repository#1#Process_Repository_Wor2
Business_Example#1#Business_Example_Wor1
Business_Example#1#Business_Example_Wor2
Business_Example#1#Business_Example_Wor3
test_sched#1#test_sched_Wor3
shark_retailer#1#retailer

this is not readable output. but the select process swing version is cool.

anyone can help?



ea = Shark
		         .getInstance()
		         .getAdminInterface()
		         .getExecutionAdministration();
		         ea.connect(userName, pwd, engineName, null);
		         WfProcessMgr[] a = ea
		         .get_iterator_processmgr()
		         .get_next_n_sequence(0);
		         String [] ret = new String[a.length];
		         for (int i = 0; i < a.length; ++i) {
		            String n = a[i].name();
		            if (_debug_)
		               System.err.println("processName "+n);
		            ret[i]= n;
		         }
		         return ret;
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
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.