I am facing issue while running process through orchestrator. Same process is running if I run it from studio, but if i publish package to orchestrator then getting error with selector.
Details:
Orchestrator Version: 2018.4.5
Studio Version: 2019.4 Enterprise edition
Error Message:
System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector: at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID) at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector, IPlaceholderResolver placeholderResolver
Process starts with Kill all processes but when running from orchestrator its not killing any process on machine and throwning exception for selector before launching application
You can try place all the activities without try catch in a xaml and call that file using invoke workflow activity with try catch from xaml2. Xaml2 should be your main, in the catch exceptions place exception.source. then run the process in orchestrator.
Got solution for it, Actually my package was running Another file as a start file.
I changed Main parameter in Project.json to Main.xaml and issue got resolved.