Retrieveing Activity Log messages from a flow service

From within a flow serrvice, I am trying to get hold of the activty log messages for a process.
I believe that wm.monitor.service:getActivityLogForProcess is specifically for this purpose. But, this service is undocumented; and no matter how I try to use this, I am only getting NULL results.

Does anybody know what goes into this service and how it works?