Hi Answers team.
I have a client request and I want to see if is possible this is the scenario: we have 2 documments named in the same way for certains reasons the documents are on different folders
For example :
FolderA /Doc.xls
FolderB/Doc.xls
I want to move the document of "FolderA" to "FolderB" adding a version of the document on FolderB and if we look in to version history see both files on the document of "FolderB" but instead to do it manually do it by Workflow.
Is this possible?
Question
Question
Replace a document adding a version on the original document with Workflow
Answer
You could use Download Electronic Document to get the e-doc from one entry and Attach Electronic Document to replace the electronic component on the other one with the downloaded document. If the second document is under version control, the old e-doc will be available in the version history.
Replies
Thanks Steve but I think that is not what I looking for.
I've gone down this road before and unfortunately it doesn't appear to be a way to perform this task without Importing a new document into Laserfiche. If the document already exist in the Repository, then it cannot be replaced by another as a new version. As was explained to me, it is by design.
Yes I thing it´s difficult, but I read on that post (that you link it on your previous answer) ,It can be possible using sdk script but Im wondering, what script do I need to use to get that resolved ?
This could be also a very good request for next versions on workflow for on the toolbox in the section of Laserfiche actions.
You could use Download Electronic Document to get the e-doc from one entry and Attach Electronic Document to replace the electronic component on the other one with the downloaded document. If the second document is under version control, the old e-doc will be available in the version history.
Hi Miruna It´s work Perfect!!, thank you so much.
That is a very good way to thing outside the box.
Can you share your workflow for this?
Yes sure.
01 First I put a find entry node to know where the Document 1 is
02 Then I put the document one on version control
03 After this I put a find entry node to know where the Document 2 is
04 Then I Download electronic document of Doc 2
05 Finally I attach the electronic documment 2 to 1
I attach a video I hope it works for you too.
Nice!, Thanks
Have you tried the "Version Control" activity?
While I admit the name of this activity is a bit terse, what it does is to put the document under version control. Once that happens, changes to the document - such as replacing its e-doc with another one, will be saved as new versions.
Hi Ryan Thanks for your answer that give me more ideas.