Save a file in count form

@Guilherme_Silva - here you…I guess it should work for your case… :crossed_fingers:

  1. 1st Run - No files available in the below folder…

image

So below is the output…

image

Now…my code will copy the file from input folder(you can put your download activity here) and rename it to

image

image

  1. 2nd Run - Since there is file exist in the folder…I will look for a recent file based on the create time and extract the counter value from the recent file…and then using Copy file activity(Add your download activity here) I am renaming it.

image

  1. 3rd run…

image

XAML :
MoveAndRename_GS.zip (47.7 KB)

Note: I have removed all the files from the OutputFiles folder. Run the workflow as is and you will see how the file gets created in the outputfiles folder. Once you understood what is happening. You can easily tweak this workflow as per your need.

Hope this helps…