Exception thrown on secondary workflow

Posted by nav on Stack Overflow See other posts from Stack Overflow or by nav
Published on 2010-05-24T21:05:36Z Indexed on 2010/05/24 21:11 UTC
Read the original article Hit count: 503

Filed under:
|
|

Hi All,

I am running a workflow fired when a new list item is created, the workflow creates a new task item and sends an email. This works fine.

I have another workflow fired when a task item is modified, when I try and modify the task item and click complete an exception:

I have checked the recycle bin and the item asscociated with the workflow is not there, i have deleted all items for the recycle bin but still get the error... Any help appreciated!

Exception details:

Server Error in '/' Application.

The workflow's parent item associated with this task is currently in the recycle bin, which prevents the task from being completed. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Microsoft.SharePoint.SPException: The workflow's parent item associated with this task is currently in the recycle bin, which prevents the task from being completed.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 


[SPException: The workflow's parent item associated with this task is currently in the recycle bin, which prevents the task from being completed.]
   Microsoft.SharePoint.WebPartPages.DataFormWebPart.UpdateCallback(Int32 affectedRecords, Exception ex) +198
   System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +4432739
   Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() +724
   Microsoft.SharePoint.WebPartPages.DataFormWebPart.PerformCommit() +92
   Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e) +61
   Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument) +3651
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +39
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3215

© Stack Overflow or respective owner

Related posts about sharepoint2007

Related posts about moss