1

I am using visual studio 2013 to create SharePoint workflows in SP2013. We have already have workflows associated with a document library and now while creating a new one, I want to check if the existing workflows are progress or not. How to proceed with this condition?

1 Answer 1

1

You may check the SPListItem.Workflows property on a given list item (e.g. the current list item) (see https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.workflows.aspx). That would give you the list of WF instances running in the scope of that item.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.