Kindly implement the below changes & verify:
- Please try “Retry Scope” activity and put “Kill Process” activity inside it. So that, when kill process fails once, it will retry to kill the process once again. You can get more details on “Retry scope” activity at below link.
The problem could be also due to restricted rights, for some reason. Place the activity in a try-catch & verify.
Please try “Close Application” activity in place of “Kill Process” activity and check the behavior.
Please go through below link to get a sample workflow that kills the excel process of the current user.