>> to determine how many work items an agent/store has? I see that >> openwfe.rest.wlclient has a method called queryStore that appears to do the >> above and apply regex(es) via the 'query' parameter passed to the method.
>> Finally is 'Store.query' the store that is prefered for doing queries as it >> theoretically could contain information on all workitems? > Woah, seems you're confusing things a bit (but please don't take it > has an offense, I'm only saying it in the good way...). > So somehow your AP (automatic participant) is instantiated 'once' and > may hold incoming workitems from different flows ? > Within a sequence, there's 1! (one and only one) workitem. Within a > concurrence there are as many workitems as there are children to the > concurrence expression. > That's why your question is confusing (to me at least). I think I may be confusing workitems with workflows. Let me try to explain my need and see if that helps. Pursuant to the previous cron question, I'm trying to have an AP periodically poll an external database. If the database indicates stuff needs to happen *and* the next AP is not already working on N workitems or workflows, then either launch a new workflow with the 'next AP' being the first participant in that workflow or forward the workitem to the next AP. I'm looking for a way to throttle how many workitems the next AP (the one that actually does some processing) receives at any given time. I'm trying to figure out if the cron-based participant (system cron or openwfe 'cron') should be part of a workflow definition or not (i.e. the first participant). Chapter 12 confuses me and I'm not sure how to relate a workflow definition using concurrent and sequential definitions and process definitions at the engine level and apre APs. Thanks again for the help. Tony ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ OpenWFE - Open source WorkFlow Engine OpenWFE-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openwfe-users
