Getting ALL open activities

Leonardo Mira <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi,

  I am trying to create a expression that returns all open activities.
  The following code was developed, but it only returns the accepted
activities...

        WfActivityIterator wfActivityIterator =
executionAdministration.get_iterator_activity(sharkTransaction);

        ActivityIteratorExpressionBuilder
activityIteratorExpressionBuilder =
expressionBuilderManager.getActivityIteratorExpressionBuilder();

activityIteratorExpressionBuilder.addStateEquals(SharkConstants.STATE_OPEN_RUNNING);
        wfActivityIterator.set_query_expression(sharkTransaction,
activityIteratorExpressionBuilder.toExpression());

        WfActivity[] wfActivities =
wfActivityIterator.get_next_n_sequence(sharkTransaction, 0);

Does anyone know what must be done to get de non-accepted activities?

Thanks
Leonardo Mira
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.