Thanks for this, Matthias!
I had posted a similar question last week in regards to renaming of documents, as well as having issues with renaming clipped documents. Where we are looking for a solution to rename filenames to specific index data values. Link to the post here:
Renaming Document / Filename from Document's Index Values · DocuWare Support Portal
Thanks!