How can I programmatically stop an attended UiRobot.exe background Process?
- The Process is initially started with UiRobot.exe and NOT with with orchestrator).
- After the Process terminates, Assistant should STOP showing that the Process is running.
- The command to stop the Process must be initiated from a different program or Process.
More Info:
I considered several approaches but none provide a good solution:
- tsKill UiRobot.exe and UiPath.Executor.exe - works but Assistant shows job still running.
- Add file change trigger within the workflow - Excessive overhead.
- Use the Robot API - Not yet tried.
Environment:
Win 11, C# Windows, Studio 2022.10.1