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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2021 04:48 AM
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.
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2021 03:41 AM
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.
Abbas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2021 01:02 PM
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
