Optimize 10.7 | webMethods Optimize Documentation | Administering webMethods Optimize | For Developers | Optimize REST Services API | Process Analytics REST API Services | Process Instances
 
Process Instances
This service returns a list of process instances for a specified process and time range. Optionally, a status filter can be specified as well as a maximum results limiter. If the results are truncated by the maxResults limiter, the most recent instances will returned.
The URL format is as follows:
http://${optimize host}:${port}/services/rest/api/ProcessAnalytics/ProcessInstances?processModelId=${processModelId}&startTime=${startTime}&endTime=${endTime}&status=${status}&maxResults=${maxResults}
Example:
http://localhost:12503/services/rest/api/ProcessAnalytics/
ProcessInstances?processModelId=OrderFulfillment&startTime
=1407996000000&endTime=1408049935760&status=STARTED&maxResults=10