Posted: Fri Sep 16, 2005 6:54 am Post subject: API Question: can you get the count of Process Instances?
Voyager
Joined: 27 Jul 2004 Posts: 93
I need to get the count of process instances that meet a certain filter. The number may be a few thousand. Is there an api call that can return just the count? I am using queryProcessInstances() with a threshold of 1000 items at a time in a utility script, and I need a way to know how many there are so I can loop thru the appropriote number of times.
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
You certainly can with 3.6 there are new methods against the Execution Service. For each query there is now a ...ResultSize() method that can be called. For instance:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum