Same Bot i have migrated it on another machine, but at there it is not working in backgroung, showing excel activites every time.
FYI, I am reading multiple excel files.
Please let me know, if is there any settings or prerequisites are required to be done.
There are a few possible reasons why your excel activities are not working in background on another machine. Here are some suggestions you can try still if not working can you please add the xaml file in the chat If it don’t have any sensitive information:
Check if the excel files you are reading have any macros, formulas, or other features that require the excel application to be visible. If so, you may need to enable the AutoSave property of the Excel Application Scope activity to save the changes made by the excel activities in background.
Make sure you have the same version of UiPath Studio and Excel activities package installed on both machines. You can check the version of your Excel activities package by opening the Manage Packages window in UiPath Studio and selecting the Project Dependencies tab.
The version of the Excel package is determined by the project settings (project.json) and it therefore cannot be different on two different machines. This is why it’s not good to get responses from AI and post them here.
Dear friend, you are a genius, but you need to pay attention to the UiPath Studio version and the Excel version. Although the project.json file defines them, you may face issues if you have a lower version of Studio in the restricted environment, where you cannot upgrade the activities. This can happen if you have developed your code on the local machine that has the UiPath Studio community edition but you are moving your code on the restriced machine. I think you should find the way to check this in the restricted environment then you might get the real scenerio and understand this point.
Dear , you can open the code on the machine if you have Studio or an unattended robot with Studio. However, there is an issue with the Excel package and the robot if you run it directly. You need to downgrade the Excel package version, otherwise the Excel activities will appear in red. After downgrading the Excel package, you can run the code. There may be some issues after downgrading, but you should only downgrade the package, not the robot. I have faced the similar issue in my past development experience.