Doing scrips in the background?

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?

http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin

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