You are viewing limited content. For full access, please sign in.

Question

Question

Replace a document adding a version on the original document with Workflow

asked on November 2, 2016

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?
 

0 0

Answer

SELECTED ANSWER
replied on November 4, 2016

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.

2 0

Replies

replied on November 3, 2016

Thanks Steve but I think that is not what I looking for.

0 0
replied on November 3, 2016

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. 

0 0
replied on November 3, 2016

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.

0 0
SELECTED ANSWER
replied on November 4, 2016

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.

2 0
replied on November 4, 2016

Hi Miruna It´s work Perfect!!, thank you so much.  

That is a very good way to thing outside the box.

0 0
replied on November 4, 2016

Can you share your workflow for this?

0 0
replied on November 4, 2016

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.

2 0
replied on November 4, 2016

Nice!, Thanks

0 0
replied on November 3, 2016

Have you tried the "Version Control" activity?

https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-us/administration/Default.htm#../Subsystems/LFWorkflow/Content/Resources/Activities/VersionControl.htm

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.

0 0
replied on November 4, 2016 Show version history

Hi Ryan Thanks for your answer that give me more ideas.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.