Administering and Monitoring Business Processes : webMethods Monitor Built-in Services Reference : 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
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
activityLog
Document List A list of logged activity messages. For each activity message, the following fields are returned.
*PARENTCONTEXTID String The parent context ID is an internal identifier that Integration Server uses.
*CONTEXTID String The context ID is an internal identifier that Integration Server uses.
*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.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback