I was practicing Blueprism foundation training chapter 11. I need to read data from excel file. And I create a process to do it.
.Create instance.
.Show.
.Open Workbook.
At Open Workbook section, i don't know how to fill the filename.
When I fill it by "[File Path] & "Orders.csv"", below exception is appeared.
-Internal : Could not execute code stage because exception thrown by code stage: Exception has been thrown by the target of an invocation.
When I fill it by ""[File Path] & "Orders"", below exception is appeared.
-File Not Found : File: C:\BluePrism\Training\Application\Windows\Orders does not exist or is not a file.
Maybe it's a simple question, but I didn't find any related answer in the Forum, is anybody can help me how to handle it and continue it?
The second error happened because you need the file extension.
Using this in the filename input should work assuming that [File Path] ends in a backslash \. You could use Combine Path from the File Management VBO as well. Cuts a couple steps off of checking for the backslash yourself. Don't add any quotations:
[File Path] & ""Orders.csv
The second error happened because you need the file extension.
Using this in the filename input should work assuming that [File Path] ends in a backslash \. You could use Combine Path from the File Management VBO as well. Cuts a couple steps off of checking for the backslash yourself. Don't add any quotations:
[File Path] & ""Orders.csv
But use [File Path] & ""Orders.csv"" still bring out below error.
-Internal : Could not execute code stage because exception thrown by code stage: Exception has been thrown by the target of an invocation.
The object MS Excel VBO is imported from Blueprism default file.
Even I am getting this error File: does not exist or is not a file when trying to open a workbook from a network path. It totally work fine and fetches the excel data when manually run and throws error while scheduled.
Could somebody explain on how this was resolved?
------------------------------ Akshaya R RPA Developer ------------------------------