cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Document Task - Create new file each run instead of overwriting

shmalik
Confirmed Champ
Confirmed Champ

Dear Alfresco Community,

I am using the Publish to Alfresco Task in Alfresco Process Services 1.11 Trial Version in combination with the Alfresco Content Services Trial Version 6.2.

When I publish a file in Content Services, each iteration, it overwrites the existing file in the folder because it has the same name. How can I save it as a new file (for each process run)?

Thank you.

2 REPLIES 2

abbask01
Star Collaborator
Star Collaborator

make your file name unique (append process instance id), or may be add your files in process instance id based folder names.

Hope It helps.

Regards,
Abbas

Hi Abbas,

I now made the file name with a variable from my form unique: ${variableFromForm}_filename.
Additionally I added subfolders like you suggested. It works perfectly fine now.

Thank you very much for information and your fast response!

Best regards,
shmalik