Administering and Monitoring Business Processes 10.4 | Administering and Monitoring Business Processes | webMethods Monitor Built-in Services Reference | pub.monitor.process.modelControl Folder | pub.monitor.process.modelControl:changeModelEnabled
 
pub.monitor.process.modelControl:changeModelEnabled
Enables or disables the specified webMethods-executed process model.
Input Parameters
The following table lists the input parameters.
enableModelID
String Complete model ID of a 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 enable 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.
enabledStatus
String Optional. Whether the process model is currently enabled or disabled. You can determine whether it is enabled or disabled by using the pub.monitor.process.modelControl:isModelEnabled service.
*0 Default. Disabled model.
*1 Enabled model.
Output Parameters
The following table lists the output parameters.
message
String Success or error message, as appropriate.
Usage Notes
*If you disable a process model that is invoked by another process model, when a process instance based on the parent model is executed, it will fail at the step that attempts to start a process instance for the disabled process model.
*If there are multiple versions of a process model, this service acts on the latest version.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release