Automatically Rename Files

  • 285 Views
  • Last Post 08 June 2020
Andre Dias posted this 08 June 2020

Hi everyone,

 

We're still in the process of automating our archiving workflow for the office.

We're currently using a barcode setup which detects who the file belongs to, selects the correct folder and names the file accordingly. From time to time it happens that we need to update document in those archives. When that happens it automatically overwrites the previous pdf in the folder.

 

We'd prefer to have the option to rename those files instead. (add v.1, 2, 3,etc. to the end)
Is that already available out of the box or do we need custom scripts to achieve that?

 

Best regards

Andre

Order By: Standard | Newest | Votes
luca.scarpati posted this 08 June 2020

Hi Andre,

 

it overwrites because for sure in your connector settings you select "overwrite" (I assumed you are using the WFS connector): 

 

However you can use the %UNIQUECOUNTER% variable that for sure works for your case. You can find a FAQ about it and its use here: https://forum.scanshare.com/thread/how-can-i-use-the-uniquecounter-variable/

 

Best regards,

Luca

Andre Dias posted this 08 June 2020

Hi Luca,

that's exactly what I've been looking for. Thank you.

What would be the correct Variable to make it count up like _v1, _v2, _v3?

I'm currently using %UNIQUECOUNTER1+1+_%

luca.scarpati posted this 08 June 2020

Hi Andre,

 

more than welcome cool.

You can use this: %UNIQUECOUNTER1+1+_v%.

Here my output with filename Document%UNIQUECOUNTER1+1+_v% :

 

Have a nice afternoon!

 

Best regards,

Luca

  • Liked by
  • Andre Dias
Close