Good morning fellow UiPath Rock Stars,
I needed to implement a kill process into my workflow and was able to do it by using the For each loop logic and know how it works. As well I found another tutorial on YouTube where the guy explained it, but it was really short and I couldn’t understand the piece of code he used.So he did assign a code snipped to variable. The code snipped is below:
(From p As Process In process.GetProcesses Where p.ProcessName.ToUpper Like processName.ToUpper And Not GetAllRunningProcesses.Contains§)(0)
here is the link to YouTube tutorial ==> https://www.youtube.com/watch?v=-evauIzBZLE
It looks like querying something but I couldn’t get it. As I figured out ‘From p’ As, In, Where, Like, And
If anyone could explain me the code flow and from where it comes from it would be very helpful.