Aim:
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.
Description:
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
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.