[Solved] Kill Process using UiPath


#1

Solution:

For Each => Foreach process in System.Diagnostics.Process.GetProcessesByName(“notepad”)
Body => Kill Process => Process => System.Diagnostics.Process.GetProcessesByName(“notepad”)(0)
Body => Kill Process => ProcessName => [Leave it Blank]

Done!

FYI: Only 2 Activities used => For each & Kill Process