sharepoint WSS workflow - & ldquo; failed on start & rdquo; Error

advertisements

I've got a WSS 3.0 "project" site with all my workflows working properly. I want an easy way to clone this site, there will be one per project, so it has to be something the empowered end user can do (stsadm export won't work for him).

I save the site, with content, as a template, then create a new site from the template. This new site has all the work flow, but when I try to run them, I get "Failed to start" this is from error log. I suspect this is the key msg in the log ... "Can not find the condition "__Rule_ID21"

04/10/2009 10:06:03.00 w3wp.exe (0x13A4) 0x150C Windows SharePoint Services Workflow Infrastructure 72fs Unexpected RunWorkflow: Microsoft.SharePoint.SPException: Error>CompilerError Line="0" Column="0" Text="Activity 'ID13' validation failed: Can not find the condition "__Rule_ID13"." CompilerError Line="0" Column="0" Text="Activity 'ID21' validation failed: Can not find the condition "__Rule_ID21"." /> Error> at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(String assmNameIn, SPWeb web) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(Guid trackingId, SPWorkflow workflow) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow originalWo...

04/10/2009 10:06:03.00* w3wp.exe (0x13A4) 0x150C Windows SharePoint Services Workflow Infrastructure 72fs Unexpected ...rkflow, SPWorkflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)

04/10/2009 10:06:03.00 w3wp.exe (0x13A4) 0x150C Windows SharePoint Services Workflow Infrastructure 98d7 Unexpected Microsoft.SharePoint.SPException: at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(String assmNameIn, SPWeb web) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(Guid trackingId, SPWorkflow workflow) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow originalWorkflow, SPWor...

04/10/2009 10:06:03.00* w3wp.exe (0x13A4) 0x150C Windows SharePoint Services Workflow Infrastructure 98d7 Unexpected ...kflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)


Workflow invoke should be the first activity in your workflow.cs file and thereafter have other code pieces. The build will compile.