1. What are the allowable values for the instantiate parameter for each agent in etc/apre/agents.xml ? I see examples of "each-time" and "once."
What effects do they have?
2. Is there a way to wakeup an apre agent (pyya in this case) automatically with some periodicity other than using a straight cron job? In ch09s03 of the docbook, I see a participant called 'preload-agent' in the workflow. Given that that 'preload-agent' is just a name (or does that tie in to invocation machinery somehow?), how can I associate a specific worflow with a periodically apre invoked agent?
I see in ch06s08 examples of a cron job in a workflow at the engine level (//) that uses a concurrent pattern. But that example doesn't show how the workflow itself is started (assuming I want to use this approach to have a cron job notify the (apre?) agent.
Basically I'm trying to have an agent periodically invoked that checks a separate database to see if there is anything new to be done. If so, it would pass on information to the next participant in the workflow --all this via APRE.
Thanks,
Tony
