Monitor 10.5 | pub.monitor.process.model Folder | pub.monitor.process.model:getCustomFields
 
pub.monitor.process.model:getCustomFields
Retrieves all custom document fields that were defined for a specified process model.
Input Parameters
The following table lists the input parameters.
modelID
String Complete model ID of the process model for which you want to retrieve user-specified document fields. 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.
customFields
Document List List of the retrieved user-defined document fields. For each user-defined document field, the following fields are returned:
*FIELDNAME String The field name as defined in the IS document type.
*FIELDTYPE String Data type of the field, which will be one of String, Number, or Date.
message
String Error that occurred during the execution of this service if this service encountered an error.