Hi,
From what I saw, this usually happens when trying to kill a process by it's window title, but that window title is also found as part of the Blue Prism window title text that is currently attached.
Scenario:
Attach to process ""someapptext""
Attached successfully
An open Blue Prism window has the ""someapptext"" in the window title as well
Kill process ""someapptext""
Error reported
Solution:
Modify the attach stage to include the process name as well as window title of the application that you want to attach to.
When attaching via window title, BP uses a similar method as the command line ""tasklist"" to identify the process ID of the process asked to attach.
Sometimes this is not accurate enough, and you end up attaching to the Blue Prism window itself.
At that point, when trying to kill the process based on the same criteria, an error will occur as BP is not suicidal and doesn't like to kill itself
🙂
Andrzej Silarow