Donnerstag, 17. Februar 2011

Get all workflows associated with an item


SPWorkflowAssociationCollection.GetAssociationByBaseID(Guid BaseID) only returns "activated" workflows.
This means only workflows which have AutoStartCreate, AutoStartChange or AllowManual set to true will be returned.
To get all workflows associated with the item, just enumerate over the WorkflowAssociations member.

Keine Kommentare:

Kommentar veröffentlichen