The error states could not find the file but file does exist: Read CSV: Could not find file ‘C:\Users\xxx\UiPath\Assignment2_GenerateYearlyReportPerformer\Data\Temp\Report-RU567434-2018-January.csv’
Invoke System1_Create Yearly Report workflow: Could not find file ‘C:\Users\xxx\UiPath\Assignment2_GenerateYearlyReportPerformer\Data\Temp\Report-RU567434-2018-January.csv’.
System exception.Could not find file ‘C:\Users\xxx\UiPath\Assignment2_GenerateYearlyReportPerformer\Data\Temp\Report-RO874232-2018-March.csv’. at Source: Invoke System1_Create Yearly Report workflow: Read CSV
The problem is these activities are executed slightly before the file gets saved. How to overcome this without impacting the performance?
You can use a path exists and a while loop to wait for the file to be fully saved. The robot will loop until the file finishes saving and then it will find it and you can continue from there.