Optimize 10.7 | webMethods Optimize Documentation | Administering webMethods Optimize | For Developers | Optimize REST Services API | Process Analytics REST API Services | Active Process Instance Count for Time Range
 
Active Process Instance Count for Time Range
This service returns a count of process instances that were active for a specified process and time range (inclusive). Active process instances are defined as a process instances that were active at any point in the time range:
*Process instances that were started before the time range and ended during the time range.
*Process instances that were started before the time range and ended after the time range.
*Process instances that were started before the time range and are still running.
*Process instances that were started during the time range and ended during the time range.
*Process instances that were started during the time range and ended after the time range.
*Process instances that were started during the time range and are still running.
The URL format is as follows:
http://${optimize host}:${port}/services/rest/api/ProcessAnalytics/ActiveProcessCountForTimeRange?processModelId=${process model Id}&startTime=${startTime}&endTime=${endTime}