Rename Activity Faild

Hey, I want to rename a file with rename activity. I have tried it and it work with a file that have a name that always same but here the problem. I have a file that i get after unzip a folder and the file name is always change.

I tried to put on an asterisk but it still doesn work. Here I put my workflow, can someone plis help me?

Hi @Newbieee

Try Using the below expression in Rename file activity where the File path need to be input!

Directory.GetFiles(“D:\TEST\Testing file”,"*.pdf")(0)