@YounesGa To have each thread use only 1 line, set the value "max success usage: 1", "max number of simultaneous use: 1".
This is equivalent to the fact that after the flow finishes running with a result of Success, the already used proxy line will not be used again, whereas if there is an error, it will be reused 999999999 times and only one line. for each stream
290a12f6-98cf-4378-9d4c-72a246339adb-image.png
foreach mix file
-
@Fox @m4zuper Given the impossibility (at least so far) of picking a random file in a subfolder with Resource, I managed to achieve this result with: File search - foreach, but the problem is that it always takes the 1st photo. Is there a way to make this random, i.e., a mix line? I thought about using create list, but I would have to set up countless foreach loops. Another question: how can I delete the file once it’s been used?

-
You could create a function to read all to a lis; -> roll a random number between MIN 0 & MAX (length list) -> get details by index, read that certain file. Also delete that certain file using Filesystems functions?
-
A. Pick random folder;
B. Read files to list
C. Roll random number between 1 and list length
D. Get image by index from random number -
@Huntenkill
Thank you for your help, but I don’t know how many files there are; it could be 1 file or 50 files, so I couldn’t even use a random number 1-3 -
Can you PM me with a small sample of how you've got it setup?
The folder structure that is.&&
If you would do a random selection yourself: what would the result be if you selected something from the 'sample'.
I think it's easily achieveable with File Search -> Ele numb -> rand num -> get element from list -> File search (1 tree lower from random File search -> Ele numb -> rand num -> get element
-Root
-random subdir
-random image from the selected subdir -
@Huntenkill yes thankyou for you help i send you now
-
@Huntenkill You’re the best, it works perfectly!!!