Monitor 10.11 | pub.monitor.process.instance Folder | pub.monitor.process.instance:getInstanceActivityLogs
 
pub.monitor.process.instance:getInstanceActivityLogs
Retrieves the user-defined messages that were the logged for the specified process instance.
The process instance logged these messages using the pub.prt.log:logActivityMessages service.
Note:
Whether the search is case-sensitive or case-insensitive depends on how the underlying database (for example, Oracle, DB2, or SQL server) handles the queries that Monitor issues to obtain data.
Input Parameters
The following table lists the input parameters.
instanceID
String Instance ID for the process instance for which to retrieve user-defined messages. Specify the complete, exact ID.
stepNames
HashMap Optional. A hash map that provides the names of the steps within the process instance. The hash map is a key value pair, where the key is the step ID and the value is the name of the step. To obtain a hash map, use the pub.monitor.process.instance:getInstanceSteps service.
stepCidList
HashMap Optional. A hash map that provides the context IDs of the services that were executed within the process instance. The hash map is a key value pair, where the key is the step ID of a step that executed a service and the value is the context ID of the service that was executed. To obtain a hash map, use the pub.monitor.process.instance:getInstanceSteps service.
cidList
HashSet Optional. Context IDs for the steps that the process ran. You can retrieve the context IDs using the pub.monitor.process.instance:getInstanceSteps service.
Output Parameters
The following table lists the output parameters.
activityLog
Document List A list of logged activity messages. For each activity message, the following fields are returned.
*PROCESSTEPCONTEXT String The internal identifier (i.e., the step ID) of the step that logged activity message.
*ENTRYTYPE String The type of user-defined message, that is error, warning, or message.
*FULLMESSAGE String The text of the user-defined message. It contains up to 1024 characters.
*BRIEFMESSAGE String A brief version of the text of the message that contains only up to 240 characters.
*B2BUSER String The Integration Server user name of the user that invoked the service that logged the user-defined message.
*SERVERID String ID of the server where the service that logged the user-defined message ran.
*AUDITTIMESTAMP Number Time the message was logged, in epoch time; that is, the number of seconds since January 1, 1970.
*AUDITTIMESTRING String Time the message was logged in string format, YYYY-MM-DD hh:mm:ss.SSS zzz, where:
*YYYY-MM-DD is the date
*hh:mm:ss:SSS is the time, including milliseconds
*zzz is the time zone
message
String Error that occurred during the execution of this service if this service encountered an error.