Monitor 10.11 | pub.monitor.process.modelControl Folder | pub.monitor.process.modelControl:deleteUnusedModel
 
pub.monitor.process.modelControl:deleteUnusedModel
Deletes information about a specified process model from the logging database and, as a result, also the Monitor user interface.
Input Parameters
The following table lists the input parameters.
modelToDelete
String Complete model ID of the process model you want to delete. 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 modelToDelete as 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.
modelVersion
String The version of the process model that you want to delete. The model version for externally executed process models is always 1.
Output Parameters
The following table lists the output parameters.
message
String Confirmation or error message, as appropriate.
See Also
pub.monitor.process.modelControl:changeModelEnabled
pub.monitor.process.modelControl:isModelEnabled
Usage Notes
*You can delete information for process models that are disabled and unused.
*If there are multiple versions of a process model, this service acts on the latest version.