I've been racking my brain and searching Google / forums for a while on how to get this script to work right, so I'm finally reaching out for some help. Any help or direction would be greatly appreciated. 
The Goal:
Right now, I have steps 1 - 4 working using a folder actions Automator script. I can't figure out for the life of me how to get the script to delete the original .PDF file. Anytime I use any functions after the 4th step, it wants to use the script generated .TIFF files, rather than the file that originally caused the script to initiate.
At one point, I created a second folder action to run after the .PDF --> .TIFF one that would simply remove the files. That worked just fine, but if the first script encountered an error, and didn't convert the files, the second would still delete the .PDF which isn't good.
Thanks for any help in advance.
The Goal:
- Faxes come in to Fax Machine
- Fax Machine sends .PDF to shared drive on iMac
- iMac converts .PDF to multiple .TIFF files
- iMac moves .TIFF files to shared drive on centralized Windows server
- iMac deletes original .PDF file
Right now, I have steps 1 - 4 working using a folder actions Automator script. I can't figure out for the life of me how to get the script to delete the original .PDF file. Anytime I use any functions after the 4th step, it wants to use the script generated .TIFF files, rather than the file that originally caused the script to initiate.
At one point, I created a second folder action to run after the .PDF --> .TIFF one that would simply remove the files. That worked just fine, but if the first script encountered an error, and didn't convert the files, the second would still delete the .PDF which isn't good.
Thanks for any help in advance.