On Mon, Nov 05, 2012 at 10:40:09AM -0500, Paul Tomblin wrote: > I have a custom workflow which uses a custom web interface. When the user > clicks the "Submit" > button, the interface creates a "Master" ticket, and then a bunch of > sub-tickets, the number > of which varies depending what services they are requesting. The users are > complaining that > the process of submitting is taking too long. If I were to move the > sub-ticket creation into > an "On Create" scrip to run in TransactionBatch, would that help the > "Master" ticket creation > return faster, or would the Ticket->Create not return until the scrip ran > and finished?
TransactionBatch scrips won't solve your problem. If you want them to be truly asynchronous, you'll need to write a cron job of some kind, or another monitoring job, to run in the background. -kevin
pgpVJM66I97EJ.pgp
Description: PGP signature
-------- We're hiring! http://bestpractical.com/jobs
