Rename file1

Hi there,
Test.xaml (11.6 KB)

I am facing a small issue with renaming the file. I am passing string variable (Q1 2022) and I am splitting it with " " and sending it to the File change variable, I supposed to get output as “File_2022_Q1”. But it renames as “File__” which variable is missing.

I tried using Invoke method, rename file activity, Move file activity but none helped with the case.
I am forwarding the workflow. Please help with this issue.

Thank you

Hi,

Can you try to insert Assign activity with expression which you defined in argument panel as the following?

Regards,

1 Like

Thank you @Yoichi

I would go with:

Get user_Env

Adding in a bit of best practice path.Combine(path,path)

Ended with the following activity to get a bit more control for Overwrite
image

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.