Connect with us and enhance your M-Files experience using Extension Kit for M-Files. Here’s how to get started.
I have a Document Processing Rule which is quite simple to undo the PDF Generation from M-Files State Action.
When document gets "approved" to be changed again, it should revert back to .docx
This is the configuration:
I can see it trigger in History of the document but it does not convert the file back to original .docx.
What could i be doing wrong?
Hi @karloadanic
The UndoPDFConversion state action uses filename wildcards not to select a file from the object, but to choose an older version from the object history that you want to roll back to. For example, if you’re converting contract.docx to contract.pdf and now want to revert to the docx version, you should enter *.docx in the placeholder field of the filename wildcard, not *.pdf:
You can also use contract* or *, as stated in the Documentation. However, if contract* is not working for you, please provide additional details so we can investigate further. For example, contract* will only work if your documents name starts with "contract" (e.g. contract2025.docx) and does not contain any capital letters (e.g. Contract2025.docx).
I hope this was helpful. If you need any further assistance, please let me know.
Best regards,
Nika
To add to this thread, im 100% sure that the extension is .pdf. I tried also following the guide from Official Documentation:
*.pdf
to find all PDF files.invoice*
to find all files that start with “invoice” (e.g., invoice2021.docx
, invoice_final.pdf
).*
to find all files.
Only thing that worked was putting only * to find all files. searching for word contract* also does not work and it seems to trigger but with no results.
So, you came to the end of the page. This means you are passionate about technology as we are.
WATCH THE WEBINAR