Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to create a Collect Feedback and an Approval workflow in SharePoint 2010 Designer. I always get error occurred when permission is granted/revoked to multiple user (supplied by the user) in the workflow. When permissions are granted to a single user, the workflow functions.

First, I am setting user permissions, then starting the approval/feedback task. The error occurs while assigning permission to multiple users.

Some More details - The workflow is working on a document set with content approval and versioning enabled.

share|improve this question
    
having the same issue, can't add the users into a group coz they are entered by user... any solution? –  user12843 Nov 6 '12 at 8:48
    
i am still searching. –  Ravi Ranjan Nov 7 '12 at 5:50

3 Answers 3

What about assigning permissions in multiple impersonated steps? Other thing you can do is see what the error is, if you have access to SharePoint server. There you can open the log with ULS viewer, and filter by category "Workflow Infrastructure". Hope that helps.

share|improve this answer
    
I do not know the multiple users. All I get is semicolon separated login id. And that thisng need to be dynamic. I tried doing this in sharepoint designer but it did not work. Now I going for adding event receivers and then doing that. But still if somehow it is possible with sharepoint designer it would be very helpful. –  Ravi Ranjan Nov 22 '12 at 4:20
1  
In that part you might not know how SPD handles this out of the box. If you want to keep it with SPD, maybe you could create a custom Workflow Activity for SharePoint Designer –  Gomiunik Nov 22 '12 at 7:49
up vote 0 down vote accepted

SharePoint Designer workflow does not handles adding permissions to multiple user separated via semicolon in a listitem field with Out-of-box available actions.

The requirement is that I do not have a fix set of users and users access vary with each listitem (document set library item) specified by item field.

I even checked this issue with the Microsoft guys and they told me this limitation of SharePoint Designer.

So we have to create custom workflow activity. For creating Custom workflow activity refer this link. The technique for creating csutom workflow activity is not very different from SharePoint 2007. This is a very good tutorial to do the same and despite the tutorial is for SharePoint 2007 it works even for SharePoint 2010.

share|improve this answer

If you give the "Add List Item permission" activity the users string in the below format it will work

UserId;#Full Name;#UserId;#Full Name;#UserId;#Full Name

Example

53;#Alex Kropp;#28;#Bill Maxwell;#22;#Thomas Wite;#31;#Nancy dJ

You just need to create activity that accepts two parameters (Display Names with semi colon and User Ids with semi colon) and this activity will generate the above string and place it into a variable.

Then use this string variable with "Add List Item permission"

share|improve this answer

Your Answer

 
discard

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

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