I have a problem because I need a quick execution but the RPA are so slow. Takes like 2h with LINQ and I want to ask after see my code, if there is a possibility to reduce the execution time, because the RPA works perefctly but so slow.
The process are simple and explained on the images:
First I read range of an Excel.
Then I paste the info of the Excel on another Excel, and I read it again to see the blank rows.
In this part, with paralel I do a bucle to set the actual date and another bucle to set 0s on the blank rows.
An finally a write range to paste the info.
I’m working with 10110 values, but I think that 2h it’s a lot of time for 10110 values.
instead of the parallel just run the thw for each activities in series
also integrate some log messages for marking the steps, so you can find out where the execution is spenting the processing time
If I use the 2 bucles without paralel the time of execution are more bigger, so I need something similiar or use only LINQ with out the for each activities of UiPath, like for example for each row in code, I think because I don’t know.
Okey, I tried as you say but the execution time is very very similar. Do you know another solution? I thought putting the 2 bucles in one, but I can’t with the errors. So I don’t know what can I do to reduce the execution time.
Thanks, but finally I used like an algoritm with commands in Excel because with the uipath acivities the execution time was like 12h and with LINQ 2h. With this commands in Excel I reduced the time to 14 min, so thanks a lot for the help but finally I used another solution.
Anyway, the question post was about a solution with LINQ and you give me that solution so I’m going to give you the solution achievement.