
Please xplain the difference between process and process name
Also explain the meaning of
only current user
only current session
only current desktop

Please xplain the difference between process and process name
Also explain the meaning of
only current user
only current session
only current desktop
Check on this document
https://docs.uipath.com/activities/other/latest/workflow/kill-process
Cheers!!
Cool let’s go one by one
Process: The “Process” parameter refers to a running process that you want to terminate. You provide this parameter if you know the exact process instance that you want to end. You need to pass a reference to the running process using this parameter. For example, you might obtain a process object using the “Get Processes” activity and then pass that object to the “Process” parameter.
Process Name: The “Process Name” parameter is a user-friendly way to specify the name of the process you want to terminate. You provide the name of the process without the file extension. This is a simpler option when you know the name of the application you want to close but don’t have a reference to the actual process instance.
Only Current User: When selected, the “Kill Process” activity will only terminate processes running under the context of the currently logged-in user. It won’t affect processes running under other user accounts.
Only Current Session: This option restricts the termination to processes running within the current session of the user. It won’t end processes in other active user sessions.
Only Current Desktop: This means the activity will only terminate processes running on the current desktop. Each user session can have multiple desktops, but this option limits the termination to the current one.
Hope this clarifies
Cheers @Ritaman_Baral
Suppose in process we pass “chrome” then what do we need to pass in “process name” ?
Can you elaborate the last 3 using examples
You only pass one or the other, not both. You don’t pass “chrome” in Process, you would put an object reference in that property. If you just want to give it “chrome” then put that into the process name property.
you only need to pass “Chrome” in process name
for example : 1.IF you want to kill excel then mention “Excel” in the process name
2.if you want to kill chrome then mention “Chrome” in process name
you only pass one or the other not both.
Go through this docs for better understanding
https://docs.uipath.com/activities/other/latest/workflow/kill-process
If you are doing a get processes then you use the process field to pass the output of that activity…if not you can use process name alone to give the name
Only either one of it needs to be populated
Cheers
Sure for these
for the “Process Name” field, you would provide “chrome”
Hope this clarifies
Cheers @Ritaman_Baral
Hi,
Process vs. Process Name:
Hi