activity query

Ben Anderson <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
just tagging with "[shark]" in subject - sorry about the original.

---------- Forwarded message ----------
From: Ben Anderson <[email protected]>
Date: Jul 1, 2005 3:26 PM
Subject: activity query
To: [email protected]


Hi,
I'm trying to do an query on activities, but am coming back with no results:

ea.connect(this.user, this.password, "", "");
WfActivityIterator actIt = ea.get_iterator_activity();
// I know activities exist with this name because I
// see them when I query for processes
String query = "name.equals(\"someName\")";
actIt.set_query_expression(query);
WfActivity[] wfas = actIt.get_next_n_sequence(0);
LOG.debug("wfas.length: "+wfas.length);

Am I doing something wrong here?  Also, does it matter who I'm logged
into the ExecutionAdministration as?  I'm just using one user/group at
this point.

Thanks,
Ben
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.