Smart Rule with OCR duplicates file

I made a Smart Rule to automatically OCR files I captured with my phone. They get synchronised to my Global Inbox. On the Mac after each sync the Smart Rule grabs all PDFs with 0 words and makes an OCR.

The problem: the original file (type PDF-document) does not get deleted after the OCR of the Smart Rule. So after the first sync there is a PDF-document and a PDF+Text document. With each sync another PDF+Text document is added.

If I - on the other hand - execute an OCR manually via the context menu the PDF-document gets deleted after the OCR process as expected.

I didn’t see this behaviour with DT3, so it might be a problem of the new release.

Use OCR > Apply in the smart rule. It doesn’t generate a secondary file.

Unfortunately @BLUEFROG, that doesn’t do the trick. The PDF-document isn’t converted to a PDF+Text document. There is no duplicate anymore, but the PDF+Text document is also not there, the PDF-document remains a PDF-document, although I see in the action bar the OCR has run.

What is reported in Window > Log?

Window > Log is empty

Here is a file, if you want to try yourself.
Scan 11.06.2025, 07.10.pdf (431.3 KB)

The type is actually PDF+Text after importing it. Which version of macOS do you use?

Interesting. Same here.
I think I pulled the file out of DT after the first OCR. Here’s another file that has not yet been added to DT.

Scan 11.06.2025, 14.16 1.pdf (626.4 KB)

I use macOS 15.5 (24F74) by the way

I gave it another try. After the OCR process DT still recognises the file as a PDF-document. But if I pull the file out and back in it’s recognised as PDF+Text.

I was able to reproduce the issue, the next release will fix this.

Thanks!