ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » API Question: can you get the count of Process Instances?

Post new topic  Reply to topic
 API Question: can you get the count of Process Instances? « View previous topic :: View next topic » 
Author Message
PisgahMan
PostPosted: Fri Sep 16, 2005 6:54 am    Post subject: API Question: can you get the count of Process Instances? Reply with quote

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.
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Sep 16, 2005 7:09 am    Post subject: Reply with quote

Jedi Knight

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:
Code:

queryActivityInstanceNotifications(...)
queryActivityInstanceNotificationsResultSize()

Prior to 3.6 there is no way to do this directly with the API
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » API Question: can you get the count of Process Instances?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.