SharePoint System Account Usage
KB000239
PRODUCT
Introduction
Using the SharePointSystem Account
When a SharePoint Workflow Integrated process is started from the SharePoint site while the user is logged in using the SharePointSystem account, the K2 Server will be unable to resolve the User. An error occurs because the SharePointSystem account is not an Active Directory account type. The process will show as completed within the SharePoint site and the error will state that the user was unknown.
Example Scenario
Important: These steps are provided to demonstrate the problems that may result from using the SharePoint System (AppPool) account. |
The K2 developer performs the following steps:
- Logs onto the SharePoint site as the System account
- Navigates to the K2 Web Designer
- Creates a process that has "Start process when item is created" enabled
- Deploys the process
- Creates a new document in the MOSS library while logged in using the SharePoint System account (i.e. Starts the Process as SharePointSystem)
- The process will show as complete but will have an error shown in the event viewer
The local machine has the following items installed:
- Microsoft .NET Framework 2.0 SP1
- K2 blackpearl SP1
Error Messages
The following error message relates to this KB Article:- The workflow will complete with an error
Error Resolution