todate | String Optional. Start date for the period to keep the data in the IS Core Audit Log and Process Audit Log database components. The period ends with and includes the current date. Use the format yyyy-mm-dd hh:mm:ss. Supply either todate or days. Do not supply both. |
days | String Optional. Number of days to keep the data in the IS Core Audit Log and Process Audit Log database components, ending with and including the current date. Supply either todate or days. Do not supply both. |
archiveAction | String Optional. Indicates whether to archive or delete the data. ARCHIVE Default. Copy the data from the IS Core Audit Log and Process Audit Log database components to the Archive database component and delete the data from the IS Core Audit Log and Process Audit Log database components. DELETE Delete the data from the IS Core Audit Log and Process Audit Log database components without first archiving it. |
status | String Optional. Indicates the status on which to archive or delete the data. COMPLETED Default. Archive or delete data for processes with a status of Completed. COMPLETED-FAILED Archive or delete data for processes with a status of Completed, Failed, Stopped, or Resubmitted. Data for processes with a status other than those specified is retained in the database. |
batchSize | String Optional. Number of processes to archive or delete at a time. |
modelId | String array Optional. Complete model ID of the model for the process instance(s) you want to archive. Use a comma to separate multiple modelId string values. You can retrieve model IDs by invoking the pub.monitor.process.instance:getProcessList service and using the value returned in the processNames/PROCESSKEY output parameter. If modelId is null, all processes are archived. 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. |
message | String Message that indicates the success of the archive or delete action. |
errorMessage | String Errors that occurred during the archive or delete action. |