Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

workflow task approve error

$
0
0

HI,

I have converted my sharepoint 2010 windows based application to sharepoint 2013 claims based site.

I have a custom list to which I have attached a Visual studio workflow. In the workflow, I am removing the permission of all users and granting permission to specific users. This is working in SP 2010.

For the list item, permission is set as "domain\username". In the SP 2013, for the list item, the user has permission, but he is not able to approve the task. I am getting the error as

"System.ArgumentNullException: Value cannot be null.  Parameter name: item  
 at Microsoft.Office.Workflow.ListPage.SimpleNameFromItem(SPListItem item)   
 at Microsoft.Office.Workflow.WrkTaskIPPage.OnLoad(EventArgs ea)   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)"

If I remove the user, and add it as "I:0.w|domain\username", then the user is able to approve the task, but not with "domain\username". The code was working properly in SP 2010..

How to fix this?

Thanks


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>