I know you can use CAML in an SPQuery to return collections of SPListItems 
based on query parameters rather than iterating through lists, but I don’t know 
if you would be able to search on active workflows.

 

 

Kind regards,

 

Chris

 

From: [email protected] [mailto:[email protected]] On Behalf Of Bill Williamson
Sent: Wednesday, 3 June 2009 2:08 PM
To: [email protected]
Subject: Diagnostics on running workflows

 

We have a few runaway workflows, and would generally like to know what 
workflows are currently running in our system.

>From what I have read, the only way to do this is (using the api, pseudocode):
foreach(site in sites)
{
foreach(list in site.lists)
{
foreach(item in list.items)
{
CheckActiveWorkflowsForItem(item);
}
}
}


Is there REALLY no way to do this apart from iterating on every single freaking 
item in the entire site collection?

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ: http://www.codify.com/lists/ozmoss 
<http://www.codify.com/lists/ozmoss> 

Other lists you might want to join: http://www.codify.com/lists 
<http://www.codify.com/lists> 

--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to