We are giving facility to upload documents through forms in form of Training Material which is named as "Type-TrainingID". For example "PPT-6789", "VIDEO-6789".
Now user would requires following
1. Weblink URL
2. Training Material to be under version control
3. When they upload another PPT for same training then automatically version 2 should be created.
We are using Workflow for this where each upload goes through following workflow activities
For Each File->Create Entry->Attach Electronic Document->Version Control
It works fine when first upload but doesn't create version when second time we upload with same name. Rather workflow ends up with "name(2)".
Please help with this version control through workflow when we replace the same named file. Thanks.