Hi,
system.diagnostics.process.getcurrentprocess.mainwindowtitle returns empty
under UiPath 2024.10.9
Any suggestions how to get the process name?
Thx. KR Vanja
Hi,
system.diagnostics.process.getcurrentprocess.mainwindowtitle returns empty
under UiPath 2024.10.9
Any suggestions how to get the process name?
Thx. KR Vanja
have a look here:
In case you are asking for Windows Processes then let us know more details of your requirements / scenario
Hi @VanjaV,
You can use the Get Processes activity to retrieve the list of currently running processes.
Thanks
@ppr thx, which package is activity in, because it does not find it
@ppr,
until now we were sending Business Exception Mails with
system.diagnostics.process.getcurrentprocess.mainwindowtitle
included.
There were some changes made to ReFrameWork Template and now
it does not work any more. Hmmm.
Hi @VanjaV,
It seems Outlook / Mail service you using, may not be running in the foreground. Check whether you’ve disabled the option to open Outlook before sending emails. If it’s not already implemented, try launching Outlook first and then check if it return any value.
Thanks
It does not work with LogMessage either.
Hi @VanjaV
You can use Get Current Job Info and then access the process name using:
CurrentJob.ProcessName
cheers