"Modified by" property is incorrectly set to "System Account" after you approve a workflow in a SharePoint Server 2010

Applies to: SharePoint Server 2010

Symptoms


Assume that you add an Approval workflow to a Document Library that has the following options enabled in Microsoft SharePoint Server 2010:
  • Start this workflow to approve publishing a major version
  • Update the approval status after the workflow is completed (use this workflow to control content approval)

When you approve the workflow, the "Modified by" property is incorrectly set to System Account, instead of a display name.

Workaround


To work around this issue, follow these steps to set the Approval workflow to start manually, and then disable the workflow to update the workflow status:
  1. Browse to the Document Library.
  2. Click the Library tab.
  3. In the Settings group, click Workflow Settings.
  4. Click the Approval workflow you created.
  5. Select the Allow this workflow to be manually started by an authenticated user with Edit Item permissions option.
  6. Clear the Start this workflow to approve publishing a major version of an item option.
  7. On the next page, clear the Update the approval status after the workflow is completed (use this workflow to control content approval) option.
  8. Click OK to save the changes.