Hi,i want upload files ,If I upload this file again, I want to add (1) after the same file name. such as, book,book(1),book(2)
Make a microflow to save the uploaded file where you:
Do a retrieve from database to see if you already have the same file. If you want to know for sure that it's the same file, you'll have to check for more than just the name and you'll probably want to compare the contents, though this might be a performance-heavy action.
Do a count action
Make a split where you check if the $Count is != 0
If this check is true, save the file with its original name
If the check is false, change the filename to $File/Name + ‘(‘ + $Count) + ‘)’