Tips: WfActivity Query

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

I got the effective query,

this can be use to query for new instantiation or for history.

WfActivity[] act =proc[i]
         			                    .get_activities_in_state(SharkConstants.STATE_CLOSED_ABORTED)
         			 					.get_next_n_sequence( 0 );

change the state to (proc[i].state()) for view all.

this is the sample

WfActivity[] act =proc[i].get_activities_in_state( proc[i].state()
).get_next_n_sequence( 0 );

Thanks to Nav van Deventer for his script.

Frans
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.