> I'm trying to figure out how best to throttle/regulate the launching > of workflows. I have a python apre agent that is a cron engine-level > service. It has the potential of launching workflows faster than the > java apre agent can finish them. One approach I am trying is to have > the python apre agent query the store associated with the first apre > participant in a workflow sequence. If that store items size is > larger than N, no workflow is launched. So my question is: if an > apre agent is executing use(), will work items stack up in its store > until use() completes if the agent is a 'once' type?
Hi Anthony, well, agents do not have stores associated with them... Maybe your launching agent/service could keep a count of the flows it launched in within the last 30 secs and pause itself until that count, having reached a limit, drops to zero. I hope this will help... John _______________________________________________ OpenWFE - Open source WorkFlow Engine OpenWFE-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openwfe-users
