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

Answers

Like this:

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