AnsweredAssumed Answered

Determine if a file is deleted through API with File ID

Question asked by Phil Morris on Jun 29, 2017
Latest reply on Jul 31, 2017 by Phil Morris

I wonder if there's a way to tell if a file is deleted through the API using the File and Folder ID. Is deleted like a hidden workflow state?



We create 2D template .dwgs to send out when we order steel. The template file's ID is attached to its record in our ERP system. When we place an order, the file ID is used to find the template and copy it to a shared FTP site where our steel provider can access it. If there is a revision to one of those parts and the engineer deletes the old template file and creates a new template file, the template gets a new file ID. If the file ID isn't updated in ERP then next time an order is placed for that part, it will reference the old file ID. Since the file hasn't been destroyed, it'll pull it just like normal. I'm just wondering if there's any way to prevent this from happening.