Monitor 10.11 | pub.monitor.process.model Folder | pub.monitor.process.model:getModelDetails
 
pub.monitor.process.model:getModelDetails
Retrieves the detailed information for a specified process model.
Input Parameters
The following table lists the input parameters.
modelID
String Complete model ID of the process model. You can retrieve model IDs by invoking the pub.monitor.process.model:getModelNames service and using the value returned in the modelNames/PROCESSKEY output parameter.
Note:
Whether Monitor treats modelID as case-sensitive depends on how the underlying database (for example, Oracle, DB2, or SQL server) handles the queries that Monitor issues to obtain data.
deployVersion
String The version of the process model. The model version for externally executed and integration processes models is always 1.
Output Parameters
The following table lists the output parameters.
modelDetails
Document The retrieved detail information for the specified process model. The returned IS document contains the following fields:
*modelName String Name of the process model.
*deployTime String Date and time the process model was last added to the Process Audit Log:
*For a webMethods-executed process model, this is the last date and time the process model version was built and uploaded for execution.
*For an externally executed process model, this is the last date and time the process model was uploaded for analysis.
*For an integration process, this is when the pub.monitor.integrationProcessLogging:createProcessMetadata service was used to log information about the process.
*description String Description of the process model.
*createdBy String User who created the process model.
*enabled String Whether the model is enabled or disabled (webMethods-executed process models only).
*0   Disabled.
*1   Enabled
*-1 Disabled and process model generation failed.
*-2 Enabled and process model generation failed.
*started String Number of process instances in Started status.
*ended String Number of process instances in Completed status.
*failed String Number of process instances in Failed status.
*suspended String Number of process instances in Suspended status.
*canceled String Number of process instances in Stopped status.
*resumed String Number of process instances in Resumed status.
*resubmitted String Number of process instances in Resubmitted status.
message
String Error that occurred during the execution of this service if this service encountered an error.