Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Issues with auto start workflows

Updated: 21 May 2010 | 4 comments
Aryanos's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

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

Discussion Filed Under:

Comments

Jason Short's picture
18
Feb
2010
1 Vote +1
Login to vote

Try using an AppPool with a dedicated system account

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.

Aryanos's picture
19
Feb
2010
0 Votes 0
Login to vote

Thanks Jason

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.

I like my beats fast and my bass down low

Aryanos's picture
19
Feb
2010
0 Votes 0
Login to vote

Still not executing

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?

I like my beats fast and my bass down low

Aryanos's picture
19
Feb
2010
1 Vote +1
Login to vote

Thanks Rob Moore

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.

I like my beats fast and my bass down low