Hello,
Recently I have been tasked to create a flow where a document from the SharePoint library is being sent for approval and signature to the management. Now all the documents are created in .docx format to be editable. After that they go through verification and edition processes at a few specialists and afterwards are sent via email to the CEO for signature.
The signature is a digital one, so it only can be applied on a PDF file. I managed to make the conversion from .docx to .pdf using OneDrive, so when the CEO receives the email, the file is already in PDF, just to be downloaded and digitally signed.
The other flow works backwards, when CEO responds to the same email with the digitally signed PDF uploaded, it gets back this file to the same file library.
Here I am facing a problem - when I am trying to update the initial .docx document via Update file properties and Update file actions, I am managing to update just metadata and content of the file, but not the file extension, so it stays in the library as .docx, although it has a PDF content.
I know that I can delete the old file and recreate a new one with the new extension, but I would like to preserve the initial ID of the file in the library.
Is there a solution for this?
Please advise.
Thank you.