SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a document that I would like to delete, but receive the following error message: "This list item has a job pending."

I believe this is caused by our TRIM Integration creating SPWorkItems on it. I would like to be able to see all job definitions for work items, but there doesn't seem to be any public methods/properties which expose these, without requiring a Guid.

The only "get" method anywhere that I can find is SPSite.GetWorkItems

This post declares that there is nothing public in the objcet model, and recommends looking at the database: I obviously don't want to do that.

Am I missing something? Are there any methods/properties in the object model that I can use to list the SPWorkItemJobDefinitions and their type ids so that I can then get the SPWorkItems and see what's wrong with them?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.