SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Failed to start WorkFlow

Last post 10-22-2009, 8:45 AM by anujahnavi. 9 replies.
Sort Posts: Previous Next
  •  06-27-2007, 4:07 AM 3874

    Failed to start WorkFlow

    Hi everyone

    I have issue in WorkFlow :

    I'm using Sharepoint Designer create Workflow, when i save sitetemplate (include content) and deploy to another server then get error meessage "Failed to start WorkFlow" after create item
    This is log file in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS"

    "RunWorkflow: Microsoft.SharePoint.SPException: <Error><CompilerError Line="0" Column="0" Text="Activity 'ID13' validation failed: Can not find the condition &quot;__Rule_ID13&quot;." /><CompilerError Line="0" Column="0" Text="Activity 'ID26' validation failed: Can not find the condition &quot;__Rule_ID26&quot;." /><CompilerError Line="0" Column="0" Text="Activity 'ID38' validation failed: Can not find the condition &quot;__Rule_ID38&quot;." /><CompilerError Line="0" Column="0" Text="Activity 'ID48' validation failed: Can not find the condition &quot;__Rule_ID48&quot;." /></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 originalWorkflow, SPWorkflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)     "


  •  06-27-2007, 4:10 AM 3875 in reply to 3874

    Re: Failed to start WorkFlow

    Sorry
    this is environment that i work

    Window Sharepoint Services v3.0
    Sharepoint Designer 2007
  •  06-27-2007, 2:24 PM 3889 in reply to 3874

    Re: Failed to start WorkFlow

    Hmmmmm...

    Without checking a couple of facts, I suspect the following:

    Creating a WF against a list/library in a site and then saving a site template using the UI might have issues with mapping GUID's, ie the GUID of the list in the original site is not the same as the one created from the site template.

    Custom site definitions with Features would potentially be a better appraoch.

     


    Matt Groves
    Managing Consultant (Information Worker Solutions) - Trinity Expert Systems Ltd [www.tesl.com]
    Blog: www.mattgrovesblog.com
  •  06-28-2007, 3:37 AM 3903 in reply to 3889

    Re: Failed to start WorkFlow

    Hi MattGroves

    Thank for your reply
    but issue not occur because of Sharepoint Designer automatic add braket into List's GUID when create WF

    Example : List's GUID in Site : 096E05F8 - 3726-4f08-91D0-933BC8DD7931
    List's GUID in WF  : {096E05F8 - 3726-4f08-91D0-933BC8DD7931}

    then when create new site base on sitetemplate it is automatic mapping GUID

    Regards
    Phuongth

  •  06-28-2007, 3:23 PM 3925 in reply to 3903

    Re: Failed to start WorkFlow

    Hi Phuongth,

    Did you get any soluution for this problem?

    The only solution which I know right now is opening the workflow in SPD and go till finish step. It starts working.

    But not possible to do so in Production environment.

  •  06-29-2007, 7:37 AM 3942 in reply to 3925

    Re: Failed to start WorkFlow

    Hi Shirish

    I find this solution before I post issue, but when deploy to customer i can not using Sharepoint Designer ( because of  SharepointDesigner's licence on customer's server)
  •  07-03-2007, 11:29 AM 3982 in reply to 3942

    Re: Failed to start WorkFlow

    Solution

     1.       Open your site in SharePoint Designer

    2.       Expand the “Workflows” folder, and the folder containing the workflow you want to fix

    3.       Right-click on the file that ends in “xoml.wfconfig.xml”

    4.       Choose “Open With” -> “SharePoint Designer (Open as XML)”

    5.       Look for the “RulesVersion” attribute

    6.       Change its value to “V1.0”

    7.       Save the xml file

    If you modify the workflow again, you’ll have to change the “RulesVersion” attribute again before saving as an STP as changing the workflow increments this attribute value which has to be reset to “V1.0”.

  •  10-08-2007, 10:23 PM 5991 in reply to 3982

    Re: Failed to start WorkFlow

    Thanks for this post Shirish!  You saved our project!  MS should update their bug database with this information as to save others time in the future until it is fixed (sp2???).
  •  11-04-2008, 3:43 PM 14938 in reply to 3982

    Re: Failed to start WorkFlow

    Hello,

    We came upon this issue after having a workflow happily working for over a year. Why would this become and issue all of a sudden? And what the WFVersion actully do....

    We seem to have fixed our issue, but would love to know why.

    Thanks for any light you can shed.

     

    Faheem


    Faheem
  •  10-22-2009, 8:45 AM 21081 in reply to 14938

    Re: Failed to start WorkFlow

    HI Faheem,

       Have you solved your issue?

       If so can you please tell me the solution of the issue.

    from jan the workflow is workin gfine but suddenly from yesterday it is throwing "Failed on start" error.

    This error is not at starting of workflow it is at th etask creation in the workflow.

    some times it is not at all starting the workflow but it is showing status as "InProgress".

    Can i know any solution for this issue?

    Please help me in this case.

    Thanks in advance.

     

    Regards, Anu

    (Anujahnavi.s@sonata-software.com)

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems