Dear all, this post is for Willy Vidable for thread in MSDN and its idea is by Clayton, and i am doing a step by step for Willy to help much better and also i wanted to post that workflow as i find it useful for all of us to use.
Create a custom list, you will have Column named Title by default, created another column named Assign to of type people and group.
and that’s it for the list.
Open your site in SharePoint Designer, click on workflow on the left navigation,
from ribbon on top, click list workflow, and choose your custom list you just created,
First put your mouse out of Step 1, and insert Impersonation Step, then remove Step 1 as we don’t need it
It should look like this:
Now put your mouse inside the Impersonation Step as this will make you see More Actions,
click on Action from ribbon, and under list category > click Replace item permission
Click on these permissions link, and click add, then click choose, don’t check on any check box of those permissions now,
we will come to it later, from Select users windows > click Workflow Lookup for a user, click add, keep datasource to current item,
from field from source, we will choose the Assign to column that we created in our custom list, now click ok till you reach to
the Add permissions windows, from here, based on your needs, choose the permission you want to give to the user,
who will work on the item created for him/her.
I choosed Contribute, but choose what suites you.
The second link is this list, we will choose the default, keep it current item.
Now save and publish, you will see the display message, give it ok, this is because of the impersonation step.
Now go to your site in the browser, and to our custom list, create new item, type in the assign to column,
the user who should have permissions on this item. and click the item, and from the ribbon choose Worflows, or
from the dropdown menu on the item title, or from dialog when you open the item,… more than one way..
you will see your workflow name that you created, click on it and click on start.
Now you should see on your custom list, that workflow completed, as we don’t have much steps, its only one.
you can add more based on your needs.
If you go now to see this item permission, you see it is not inherting anymore, but it has unique permissions and
and user you wrote in assign has the permission that we chose while create SharePoint Designer workflow.
Hope that helps.
Thanks Clayton for your idea, i add this dynamic steps to it.