OnCreateResolved

I have implemented the code found at:

http://wiki.bestpractical.com/index.cgi?OnCreateResolved
http://marc.theaimsgroup.com/?l=rt-users http://marc.theaimsgroup.com/?l=rt-users&m=111587711914525&w=2 &m=111587711914525&w=2

as a global scrip but it does not work. The only email that get sent is to the requestor regarding the creation of the ticket. What am I doing wrong?

Iris