Tags

, , ,


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.

Step 1:

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.

listcol

Step 2:

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,

to list workflow

First put your mouse out of Step 1, and insert Impersonation Step, then remove Step 1 as we don’t need it

impersonation

It should look like this:

impersonationadded

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

replace

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.

thesepermissions

I choosed Contribute, but choose what suites you.

contribute

The second link is this list, we will choose the default, keep it current item.

impoersonationok

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.

startwf

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.

unquie

Hope that helps.

Thanks Clayton for your idea, i add this dynamic steps to it.

Advertisements