In this step we will discuss about impersonation step in SharePoint 2010 designer workflow. Also you can check out my previous posts on:
By default a workflow runs by default using the permissions of the user who started the workflow. But suppose you want to delete an item from a list in the workflow. But may be the user who started the workflow may not have the sufficient permission to delete an item from the list. So in that case it will give an access denied error message.
So here in this type of situations we need to use the impersonation step. Impersonation steps run with the permissions of the person who last saved the workflow.
This enables a person running a workflow
to perform actions within impersonation steps that their permissions would not otherwise allow.
Below is the way you can add an impersonation step to the designer workflow:
Open your SharePoint workflow and from the Ribbon select Impersonation Step from the Ribbon as shown in the figure below:
The above step will add the Impersonation step section to the workflow like below. In that block you can add your workflow Actions.