Click here to Skip to main content
15,894,337 members
Articles
Article
(untagged)

Automatic Workflow Trigger after service pack 1

Rate me:
Please Sign up or sign in to vote.
3.60/5 (3 votes)
2 Jun 2008CPOL2 min read 34.3K   12   5
How to enable automatic workflow after service pack 1 has been installed

Basic Problem

Few days back some guys got sharepoint boxes upgraded with Service Pack 1. The process went smoothly and we didnt face any major problems during the upgrade. We then did some basic tests over the portal after the upgrade. The tests came positive and we were all happy untill ...

Problem

Yes the problem came right when the user requested us to do something with a deadline and we were all confident to create it for them. The user requested us to create a document library and attach a small workflow with it which gets triggered everytime anyone adds a new item. We made the workflow and the library and sat happily to watch the workflow trigger but we were in for a big surprise. The surprise as you might have guessed was the workflow did not trigger.

Problem Reason ?

After a lot of scratching of heads we found out that microsoft have applied some security fixes which doesnt allow the system account to ability to trigger the workflow. And also for the application pool identity, if you have not followed the microsoft minimum security principle while doing the sharepoint installation and behaved completely ignorant and used the sharepoint system account everywhere then you are in trouble here.
  • • The Windows SharePoint Services Web application runs under a user's domain account.
  • • The user logs in by using this domain account.
  • • The site displays the user name as System Account. The idea here is very simple. Once the service pack 1 is installed it needs a seperate app pool identity except the system account. Then you need to trigger the workflows from other account except the system account To do that i will copy from the microsoft technet site the step by step solution

    RESOLUTION

    To resolve this behavior, set the application pool account to use a different user account. You may want to create a new user account specifically for this purpose.
    To set the application pool account to use a different user account, follow these steps:
  • 1. On the server that is running one of the products that is listed in the "Applies to" section, click Start, point to All Programs, point to Microsoft Office Server, and then click SharePoint 3.0 Central Administration.
  • 2. Click the Operations tab.
  • 3. Under Security Configuration, click Service Accounts.
  • 4. Click Web application pool, and then click Windows SharePoint Services Web Application in
    the Web service box.
  • 5. In the Application pool box, click the application pool that you want to change.
  • 6. Under Select an account for this component, click Configurable, and then type the user name and the password for the different user account.
    For more information please read the following:
    http://support.microsoft.com/kb/947284

  • License

    This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


    Written By
    Architect www.i-arif.com
    Pakistan Pakistan
    Working as solution architect. Developing solutions based on Microsoft based Technologies.
    Have my own blog at
    www.i-arif.com

    Comments and Discussions

     
    GeneralExcellent Article Pin
    Bander Alsharfi5-Nov-08 1:49
    Bander Alsharfi5-Nov-08 1:49 
    GeneralRe: Excellent Article Pin
    Arif Habib Shadan - www.i-arif.com5-Nov-08 1:53
    Arif Habib Shadan - www.i-arif.com5-Nov-08 1:53 
    thanks bander ! it means a lot Smile | :)
    GeneralSystem Account cannot start Workflows, error message Pin
    GraemeLewis17-Sep-08 22:51
    GraemeLewis17-Sep-08 22:51 
    GeneralRe: System Account cannot start Workflows, error message Pin
    Arif Habib Shadan - www.i-arif.com18-Sep-08 10:20
    Arif Habib Shadan - www.i-arif.com18-Sep-08 10:20 
    GeneralThanks a lot for putting up this information! Pin
    p_pillai31-Aug-08 1:24
    p_pillai31-Aug-08 1:24 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.