How determine process name

mbailey

Member
Hi,

I'm writing a reusable business object action to acquire an environment lock and, if unsuccessful, to determine if the process currently holding that lock is making progress by creating work queue items in the most recent passage of a specified time span. If no progress is being made, an email is sent to the support group to identify the process that appears to be frozen. This will be used in a multibot environment in which a single process is being run simultaneously on multiple VM's.

I want to identify the name of the process that is sending the email in the email itself but I do not want to require the process name as an additional input variable if I can have Blue Prism look that up. The Utility-Environment object can return the Machine Name and User Name and the GetResourceName() function can return the VM but I cannot find anything that will return the name of the process that is running. Any ideas?

Thanks,
Michael Bailey
 
Top