Question Nicholas Chimera · May 24, 2017

How to set process "Client Aplication Info" ?

Hi -

In Management Portal I can view Processes and their details.

I have a long running job and would like to set the  "Client Application Details" -> "Info" indicator in my code so that I can monitor the process.

Does anyone know how I can set that string in my COS code?

TIA

Comments

Eduard Lebedyuk · May 24, 2017

Like this:

set p = ##class(%SYS.ProcessQuery).%OpenId($job)
set p.UserInfo = "My Text"
kill p
0