Rename A File with Transaction Attributes


Download invoices from a billing portal bu entering the account numbers from excel sheet and rename the downloaded invoices as per the account number and date.


I am using the RE Framework where I am creating a queue with all the account numbers as transactions. Using UI automation I am successfully able to download the invoices into a folder.

Now my aim is to rename each invoice as per the account name attribute from the queue item plus current date.

I am using the assign + rename file activity to do this:

I am getting an error:
Rename file: Argument ‘newName’ must be a name, and not a relative or absolute path: ‘PEL Mobile01/07/2021 00:00:00’.
Parameter name: newName

Can someone please help me with this.


in the rename file what expression are you using for the name value

i hope you can get a solution in this link

Hi Sandhya,

Thanks for sharing this link. What I am trying to achieve here is rename the downloaded file using details from the orchestrator queue item.

My expression is : in_TransactionItem.SpecificContent(“Account Name”).ToString + DateAndTime.Today.ToString

Basically what I am doing here is adding some account numbers along with account names to a queue in orchestrator as transactions. Then I am navigating to a portal where I need to enter these account numbers and fetch the invoices individually. Now once the invoice is downloaded, I want to rename it as “account name + date” . I want to fetch Account Name from the orchestrator queue item.

Please let me know if this makes sense.

Created a variable for in_TransactionItem.SpecificContent(“Account Name”).ToString which has helped me solve my problem.

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