With the previous version I did not have any problem, now with version 2025.0.157 it does not work well, Excel Process Scope at the time of completion remains an instance which does not allow a subsequent Excel Porcess Scope to interact with Excel, the same thing happens with Word. In addition In debug it does not allow me to use the options, run from this activity, and the test activity option,
I already updated the UiPath.automation.activities packages, and the UiPath.excel.activities and UiPath.word.activities packages
I even uninstalled the packages and reinstalled them and the problem persists
and from the test activity options, and the run from this activity option, In the image you can see the options run from this activity and test activity but they are not available, they are not clickable,
I do not have a screenshot of the Excel instance that remains open since I have not been able to execute that part because I did not have the test activity option available. An observation when the test activity option is available, it does not execute only that activity but rather runs the entire project from the start as a cascade and stops before reaching the other failure
This is what I mean when I say that there are still open instances of the program in this case Word and the same thing happens with Excel, and this causes the next activity that uses that application not to be executed correctly.
I tried something that seems to be working and that is using a start process to run a .BAT file with the command “Taskkill /F /IM excel.exe” to kill all excel processes
This already allows the following excel process scope to work
Regarding Excel matter, it’s better not to use multiple ExcelProcessScope consecutively.
Can you try to use single ExcelProcessScope and multiple UseExcelFile as the following image?
I understand, I will then use a single ExcelProcessScope, and as for Word it would be the same, use a single Word application scope or can this be used multiple consecutively?
thank you very much for your help. greetings, have a nice day.