Kill Process use

Hi All,

i was trying to use kill process activity which i will use in my code once it successful in dev.
i have excel file which is opened, so it will check if that file is opened it will kill that excel and then start working.

And i kept my file open

but got this error image

For further issue analyzing ensure before running the bot that all Excel Files are closed and kill any Excel Process manually. Then Run the Process again and observe the behaviour. A fresh Machines restart before this from above would also Help for a Clean Analysis round

Flowchart.xaml (10.8 KB)

i have used the above code and kept my file open file so that it can close my opened file, but the error which is pasted above.