21-03-24 05:44 AM
Internal : Failed to translate data - No conversion available from Text to Collection
Can anyone tell me how to fix this?
21-03-24 01:55 PM
What if you set the new name on a variable before using that action ? Avoid sending the function in the action, instead, use a text variable with the new name
Regards
21-03-24 01:59 PM
I tried but it won't work, Daniel.
21-03-24 02:00 PM
Here is the flow
21-03-24 02:12 PM - edited 21-03-24 02:14 PM
Uhmm thats weird. What if you hardcode the path and the new name ? Just to see if the error persist
21-03-24 02:37 PM
If I hard code that value means it is working, but my file name is dynamic one.
21-03-24 06:10 PM - edited 21-03-24 06:11 PM
Hello! Sorry for my late response. Yes, I just wanted to know if you hardcode the error persist, it isnt the case so I think there's some troubles with the collection not being initialized but this is only a guess, I tried to replicate your error following your same steps but then I realize that my Utility - File Management isnt updated so I will asume that you have the updated version from Dx, wich I couldnt download because cant login :loudly_crying_face: due an error that doesnt compete with this topic (Good luck chases me but I'm faster :rolling_on_the_floor_laughing:). I couldnt came to reply on this empty handed so what you can do is not use "Rename File" action, instead use this secuence of steps:
I tested this, and the result it the same file with the new name on the same folder.
Regards!
22-03-24 11:48 AM
This expression is wrong buddy. Please use the below one
Replace([Files.Name], ".xlsx", FormatDate(Today(), "dd.MM.yyy"))&".xlsx"