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
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.