Failed (on Start) in SPD workflow.

Published May 01 2019 04:02 PM 576 Views
Microsoft
First published on TECHNET on Mar 11, 2015

This post is a contribution from Jaishree Thiyagarajan, an engineer with the SharePoint Developer Support team

This blog is applicable to both Sharepoint 2010 and 2013 environment.

Say you have a Sharepoint 2010 Designer “List workflow” associated to a List. Whenever an item is added to the list, the Workflow gets triggered. If you encounter the error /message “Workflow failed to start and it was cancelled by System Account” in the Workflow History List, then please try the following to resolve the issue.

1. Check whether the workflow files like *.xoml, *.wfconfig, *.rules etc, are in check out state.

a. Open site in the Sharepoint designer

b. Click All files and open the Workflow folder.

c. Navigate to your SPD workflow and you can see the below files.

d. If the above are in “checked-out” state, try to check them in.

2. If you encounter the error “Cannot perform this operation. The file is no longer checked out or has been deleted” when you check in, then Your Workflow Hidden library might contain some extra columns (that are in required state)

a. There will be a hidden “workflow library” associated to every site. To navigate to the hidden library, follow the KB http://support.microsoft.com/kb/2273439

i. Go to Properties of the Workflow library and get the List Id.

ii. Navigate to http://yourSite/_layouts/listedit.aspx?List=ListID

b. The only permitted columns are

i. Created By

ii. Modified By

iii. Checked Out To

c. If you have any other columns, then those should be “optional”. So make the other columns as optional.

3. Now try to check-in the Workflow files (as per Step 1).

Now your Workflow should run successfully.

%3CLINGO-SUB%20id%3D%22lingo-sub-509976%22%20slang%3D%22en-US%22%3EFailed%20(on%20Start)%20in%20SPD%20workflow.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-509976%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20Mar%2011%2C%202015%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EThis%20post%20is%20a%20contribution%20from%20Jaishree%20Thiyagarajan%2C%20an%20engineer%20with%20the%20SharePoint%20Developer%20Support%20team%3C%2FP%3E%0A%20%20%3CP%3EThis%20blog%20is%20applicable%20to%20both%20Sharepoint%202010%20and%202013%20environment.%3C%2FP%3E%0A%20%20%3CP%3ESay%20you%20have%20a%20Sharepoint%202010%20Designer%20%E2%80%9CList%20workflow%E2%80%9D%20associated%20to%20a%20List.%20Whenever%20an%20item%20is%20added%20to%20the%20list%2C%20the%20Workflow%20gets%20triggered.%20If%20you%20encounter%20the%20error%20%2Fmessage%20%E2%80%9CWorkflow%20failed%20to%20start%20and%20it%20was%20cancelled%20by%20System%20Account%E2%80%9D%20in%20the%20Workflow%20History%20List%2C%20then%20please%20try%20the%20following%20to%20resolve%20the%20issue.%3C%2FP%3E%0A%20%20%3CP%3E1.%20Check%20whether%20the%20workflow%20files%20like%20*.xoml%2C%20*.wfconfig%2C%20*.rules%20etc%2C%20are%20in%20check%20out%20state.%3C%2FP%3E%0A%20%20%3CP%3Ea.%20Open%20site%20in%20the%20Sharepoint%20designer%3C%2FP%3E%0A%20%20%3CP%3Eb.%20Click%20All%20files%20and%20open%20the%20Workflow%20folder.%3C%2FP%3E%0A%20%20%3CP%3Ec.%20Navigate%20to%20your%20SPD%20workflow%20and%20you%20can%20see%20the%20below%20files.%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F111588iBF2B3576986B4898%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3Ed.%20If%20the%20above%20are%20in%20%E2%80%9Cchecked-out%E2%80%9D%20state%2C%20try%20to%20check%20them%20in.%3C%2FP%3E%0A%20%20%3CP%3E2.%20If%20you%20encounter%20the%20error%20%E2%80%9CCannot%20perform%20this%20operation.%20The%20file%20is%20no%20longer%20checked%20out%20or%20has%20been%20deleted%E2%80%9D%20when%20you%20check%20in%2C%20then%20Your%20Workflow%20Hidden%20library%20might%20contain%20some%20extra%20columns%20(that%20are%20in%20required%20state)%3C%2FP%3E%0A%20%20%3CP%3Ea.%20There%20will%20be%20a%20hidden%20%E2%80%9Cworkflow%20library%E2%80%9D%20associated%20to%20every%20site.%20To%20navigate%20to%20the%20hidden%20library%2C%20follow%20the%20KB%20%3CA%20href%3D%22http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F2273439%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F2273439%20%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3Ei.%20Go%20to%20Properties%20of%20the%20Workflow%20library%20and%20get%20the%20List%20Id.%3C%2FP%3E%0A%20%20%3CP%3Eii.%20Navigate%20to%20http%3A%2F%2FyourSite%2F_layouts%2Flistedit.aspx%3FList%3DListID%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F111589i036AD83FA8E451BF%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3Eb.%20The%20only%20permitted%20columns%20are%3C%2FP%3E%0A%20%20%3CP%3Ei.%20Created%20By%3C%2FP%3E%0A%20%20%3CP%3Eii.%20Modified%20By%3C%2FP%3E%0A%20%20%3CP%3Eiii.%20Checked%20Out%20To%3C%2FP%3E%0A%20%20%3CP%3Ec.%20If%20you%20have%20any%20other%20columns%2C%20then%20those%20should%20be%20%E2%80%9Coptional%E2%80%9D.%20So%20make%20the%20other%20columns%20as%20optional.%3C%2FP%3E%0A%20%20%3CP%3E3.%20Now%20try%20to%20check-in%20the%20Workflow%20files%20(as%20per%20Step%201).%3C%2FP%3E%0A%20%20%3CP%3ENow%20your%20Workflow%20should%20run%20successfully.%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-509976%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20Mar%2011%2C%202015%20This%20post%20is%20a%20contribution%20from%20Jaishree%20Thiyagarajan%2C%20an%20engineer%20with%20the%20SharePoint%20Developer%20Support%20team%26nbsp%3B%26nbsp%3B%26nbsp%3B%20This%20blog%20is%20applicable%20to%20both%20Sharepoint%202010%20and%202013%20environment.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-509976%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Aug 27 2020 03:36 PM
Updated by: