Monitor 10.5 | pub.monitor.process.instance Folder | pub.monitor.process.instance:getRecentlyCompleted
 
pub.monitor.process.instance:getRecentlyCompleted
Retrieves information for the most recently completed process instances. The service returns information for up to twenty process instances that completed in the last two weeks.
Input Parameters
None.
Output Parameters
The following table lists the output parameters.
recentlyCompleted
Document List List of the most recently completed process instances. For each process instance, the following fields are returned:
*AUDITTIMESTAMP Number Latest logged timestamp in epoch time; that is, the number of seconds since January 1, 1970.
*AUDITTIMESTRING String Latest logged timestamp in string format, YYYY-MM-DDhh:mm:ss.SSS zzz, where:
*YYYY-MM-DD is the date
*hh:mm:ss:SSS is the time, including milliseconds
*zzz is the time zone
*PARENTINSTANCEID String Parent instance ID, if any.
*PARENTINSTANCEITERATION Number Parent instance iteration, if any.
*INSTANCEID String Instance ID.
*INSTANCEITERATION Number Instance iteration.
*STATUS String Status code, which is 2 for completed instances.
*STATUSDECODE String Status value, which is Completed.
*PROCESSKEY String Internal model ID that Designer assigned to the process model used for the process instance.
*PROCESSKEYDECODE String User-defined name of the process model that was used for the process instance.
*CUSTOMID String The user-defined ID for the process instance that was assigned by executing the pub.prt.log:logCustomID service.
message
String Optional. Error that occurred during the execution of this service if this service encountered an error.