cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Process ID of Background Process

priyasangle1
Level 2

I need to get process ID of "BluePrism.MessagingHost.exe" for which I am using Utility: "BPS Utility - AttachAssist" and Action: "FindProcess ID". When I run the action it gives me Error "Application Exception..." Screenshot attached. When I tried same action for "chrome" it gives me Process ID correctly but does not work for background processes like "BluePrism.MessagingHost.exe" or "Automate". 

I observed that this action works only for processes running in the foreground. 

Can someone help me on Getting ProcessID of "BluePrism.MessagingHost.exe"?

Thanks 🙂 

11889.png

11890.png

11891.png

11892.png



------------------------------
priya sangle
Software Engineer
mapedutech
Asia/Kolkata
------------------------------
1 BEST ANSWER

Best Answers

Hello Priya,

Please use "Utility - Environment::Read Memory Stats" to get the process id of the processes. you can pass the application name "BluePrism.MessagingHost" in the input collection and get the corresponding PID's in the output collection Refer below.

Object Definition:

11883.png

Input Collection:

11884.png



------------------------------
Athiban Mahamathi ,
Technical Consultant
------------------------------

View answer in original post

1 REPLY 1

Hello Priya,

Please use "Utility - Environment::Read Memory Stats" to get the process id of the processes. you can pass the application name "BluePrism.MessagingHost" in the input collection and get the corresponding PID's in the output collection Refer below.

Object Definition:

11883.png

Input Collection:

11884.png



------------------------------
Athiban Mahamathi ,
Technical Consultant
------------------------------