Transaction order


Does somebody know if it is possible to change the order of transactions?
The problem is that I have a scrip that sends an email to the requestor when
the RT user sends a reply (correspond transaction) and another scrip that
sends an email when the RT user chooses to resolve the ticket. It seems as
if RT handles the resolve action as two separate transactions, a correspond
and a status change transaction. This results in two emails to the
requestor. Does anybody know how I can solve this? Is it possible to
configure RT to perform the status change transaction first? If it would be
possible, then the problem would be solved because then I may set a status
check condition in the correspond scrip.

Any help or tip would be appreciated.

Best regards

Marie Gellb├Ąck