I’m trying to use ReFramework to read some PDF Invoices, then extract information using Regex and then save this information to an Excel file, but only the information from the last invoice is being written into the Excel file.
Can you please tell me what i’m doing wrong? I’m new and currently studying everything related with RPA and UiPath
You should have an Add data row activity in your flow.
If extracted information is correct, the status is successful, so the add data row should be there, in set stats flow.
As mentioned by others, a share of your flow , is possible, will be great.
Maybe you should create the dtoutput datatable in the Initialization, which means only 1 time you initiate it. Right now, for each invoice you create a new datatable, since you have it in the Process flow.
Other than this, should be OK. Anyway, usually I write to Excel or to datatable, in the Set Status transaction, depending on the status …
At the same time, you should put some log messages, to see how the things are logged.
Usually I add log messages during development, but I delete most of them when I send it to production.
Thank you, Vasile.
I’ve created the dtoutput datatable in the init stage, but now I don’t know how to ‘connect’ it to the process stage. I know these are noob questions, but I just have 1 month working with RPA and UiPath. Thanks a lot for your help!