Workflow Soluiton

 View Only
  • 1.  Issues with auto start workflows

    Posted Feb 18, 2010 06:19 PM
    Does anyone know if there are any additional settings that need to be done in IIS or in general in order to get auto start workflows to work? I have an auto start workflow and made the configurations changes (Workflow Type: Auto Start, Run Auto Start Unti Does Not Start: unchecked, Schedule: every 5 minutes) but it doesn't seem to run at the scheduled times.

    The directory has Enable anonymous access checked as well as Integrated Windows authentication. If I browse ScheduledInvokeDelegatService.asmx in IIS and invoke GetNextRunTime it shows the correct time it should run next. Of course everything works in debug as it should but does nothing when deployed. Any help would greatly be appreciated.

    Aryanos


  • 2.  RE: Issues with auto start workflows

    Posted Feb 18, 2010 08:25 PM
    I believe the issue you described has to do with authentication.  Even though you have checked enable anonymous access, the fact that integrated windows authentication is also checked maybe causing the problem.

    My suggestion is to not uncheck integrated windows authentication, but rather create a new AppPool in IIS and use a system account as the AppPool Identity.

    Here is a simple process:

    1) In IIS right click on "Application Pools" and select New>Application Pool
    AppPool 1.jpg

    2) Give your new AppPool a name (I usually use WorkflowAppPool) and close the form
    AppPool 2.jpg

    3) Right clink on your new AppPool and select "Properties"
    AppPool 3.jpg

    4) Select the "Identity" Tab> Choose "Configurable" then enter a Domain System Account and Password and then clsoe the form
    AppPool 4.jpg

    5) Right click on the Virtual Directory of the Process you deployed and Choose "Properties"
    AppPool 5.jpg

    6) On the "Virtual Directory" Tab, use the drop down for "Application Pool" at the bottom and choose your newly created AppPool
    AppPool 6.jpg

    This should allow the webservices to invoke with a named account.


  • 3.  RE: Issues with auto start workflows

    Posted Feb 19, 2010 01:18 PM
    Thanks for supplying detailed instructions on how to setup a new Application Pool. At first I was getting a Service Unavailable message but after doing some research I found that you need to add the account to the IIS_WPG group.


  • 4.  RE: Issues with auto start workflows

    Posted Feb 19, 2010 01:51 PM
    Hi Jason,

    I created the application pool as per your suggestion and added a domain admin account to the pool. However, the scheduled auto start workflow is still not executing. Do you know if there is anything else that needs to be configured or changed?


  • 5.  RE: Issues with auto start workflows
    Best Answer

    Posted Feb 19, 2010 03:37 PM
    I managed to solve this with the help of Rob Moore. It seems there's a bug with Workflow and you need to restart server extensions on the Workflow server so that the start page gets registered with the server. One of those Workflow "bugs" I guess.