If you ever want to write some TeamSite triggers on Import Event, the event to capture is not CreateFSE or Lock. It’s RenameFSE, cos TeamSite before the file isimported create a new filename in temporary location. You need to capture ARGV in your script to get the actual original filename. So in brief
Register the event
iwat RenameFSE /apps/xxxxx/script.ipl
In the script capture $import_rename = $ARGV;
Hope this helps.