Posted: Sat Feb 26, 2005 6:20 am Post subject: elapsed time query
Novice
Joined: 14 Mar 2003 Posts: 14 Location: London
Hi,
Please can I have some pointers on how to query workflow so that it will return a list of process instances that have been running for more than a specified number of days.
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
Pete:
When you query the instances build a filter based on the startTime. The info on how to build the correct filter can be found in the programming guide under the createInstanceList() of ExecutionService, or either of the queryProcessInstance() methods. _________________ John McDonald
RETIRED
Hi,
Thanks, just mentioning the "startTime" attribute gives me somewhere to start. Of course I should read the whole manual, but I am just a part time "MQ'r" at present!javascript:emoticon('')
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