Just to get some more context on this. Are these your own custom workflows in 
Visual Studio or SPD OR are they just out of the box workflows such as Approval 
workflow?

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

But there's no list property that says "I have a workflow active"... Or is 
there?

CAML querying would be super easy, I just don't think a filter exists.
On Wed, Jun 3, 2009 at 4:48 PM, Jeremy Thake 
<[email protected]<mailto:[email protected]>> wrote:

You could use CAML and filter by a particular property...not seen any sample 
code of this though.

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bill 
Williamson
Sent: Wednesday, 3 June 2009 12:08 PM

To: [email protected]<mailto:[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]<mailto:[email protected]>

Subscribe: [email protected]<mailto:[email protected]>

Unsubscribe: [email protected]<mailto:[email protected]>

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

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

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

________________________________
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
Other lists you might want to join: 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