SharePoint User Group UK

Share the knowledge!

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

Errors when starting workflow in sharepoint V3.0

Last post 02-12-2009, 1:02 PM by Red. 8 replies.
Sort Posts: Previous Next
  •  07-06-2007, 2:13 PM 4063

    Errors when starting workflow in sharepoint V3.0

    Hi Guys,

     

    Can anyone help with this one?

    I have created a infopath form and published it to a forms library on my sharepoint site, but I seem to be getting errors at random when the workflow is started on each item. Error code below:

     

    User: System Account

    Event: Error

    Group: 0

    Outcome: Document checked out

    Description: Error updating a list item.

     

    Has anyone else had this error?

     

    Kind Regards

     

    Michael

  •  07-12-2007, 8:21 AM 4118 in reply to 4063

    Re: Errors when starting workflow in sharepoint V3.0

    Do you have forced check-out on the form library?

    I have seen this cause all kinds of issues with workflow, especially those triggered by changed content (as checking out is a change).


    Matt Groves
    Strategic Consultant - Trinity Expert Systems Ltd [www.tesl.com]
    Blog: www.sharepointblogs.com/mattg/
  •  09-07-2007, 2:59 PM 5342 in reply to 4063

    Re: Errors when starting workflow in sharepoint V3.0

    Hello.

    I have the same problem. I have made my workflows in Sharepoint designer for infopath form published in forms library. Everithing works when I have workflow starting when a new item is created. If you have workflow starting on change there you get this problem. The strange thing is that the error than with manual start works!

    Any idea?

    Regards

    Gorazd

  •  09-07-2007, 4:09 PM 5348 in reply to 4063

    Re: Errors when starting workflow in sharepoint V3.0 - try this solution

    I read Paul's Parallel workflows with delay activities problem. I thought that it would be a good idea to try to install this patch, perhaps it could solve my problem. And YES!! After the patch everithing works!!!!

    See the solution.

    ----------------------------

    Cimares wrote:

    And the solution is, You MUST have Windows 2003 SP2 installed prior to applying the KB patch for .Net 3.0.

    So, if you have aproblem with any delay activites on your workflows, whether SharePoint designer or VS2005, Make sure that you install, in this order:-

    • Win2K3 SP2
    • KB932394

    Once you do that, the delay activities work as expected. (Remember that your Workflow timer job period is the smallest delay that you can configured. To check this use stsadm -o getproperty -propertyname job-workflow -url http://nameofyourvweb

     

  •  11-19-2007, 11:58 AM 6805 in reply to 5348

    Re: Errors when starting workflow in sharepoint V3.0 - try this solution

    I tried the solution above but it still doesn't work. Is there any other solution?
  •  11-20-2007, 9:37 AM 6853 in reply to 6805

    Re: Errors when starting workflow in sharepoint V3.0 - try this solution

    Andreas,

    You  don't say whether or not the workflow you have is a custom written or SPDesigner workflow.

    I've hit a lot of problems with updating documents from the workflow due to whether or not the document has a check-out on it.

    There are four types of check-out:-

    • None - Quite obvious really..
    • Short Term - This is when the user has opened the attachment in it's application and made a change to it, saving it back without closing the application. (Just opening the document doesn't lock it out (I've only tried this with Excel and Word tho!)
    • Long Term - This is where someone has used the Check-Out option.
    • Long Term Offline - I've not found what causes this, I'm assuming that it's when someone checks out the document and they're presence information shows them as offline?

    If you're workflow is doing any form of editing of the List item, then you will have to check the lock status and vary your method of updating the object.

    The method i use is similar to the following. (Note: This method ignores any changes the user is currently making as the workflow takes precedence in my environment. In your's, you might want to queue the changes somewhere and come back to them when the lock has gone.)

                try
                {
                    SPListItem item = workflowProperties.Item;
                    item["Provisional Charge Date"] = DateTime.Now;
                    item["SO Status"] = "Finalisation workflow underway";
                    if (item.File.CheckOutStatus == SPFile.SPCheckOutStatus.None)
                    {
                        item.Update();
                    }
                    else
                    {
                        //Something has the Excel file locked, so we'll burn through the lock to force the update.
                        item.SystemUpdate();
                    }
                    item = null;

                }

    Hope this helps.

    Paul.


    www.myfatblog.co.uk
    MCTS: WSS 3.0
    MCTS: MOSS 2007
  •  11-20-2007, 12:50 PM 6877 in reply to 6805

    Re: Errors when starting workflow in sharepoint V3.0 - try this solution

    I created a workflow in SPD and the document is opend in the InfoPath client application. After making some changes to the document, it has to be saved and is closed automatically. The Workflow updates some list items according to the input of the user.

    And here's the problem:

    When the Internet Explorer is openend while editing and saving the document everything seems to work. But if you click on a link or do anything in the Internet Explorer after the client application is closed, the workflows stops with the failure massage "Error updating a list item".

    And the funny thing about it is, when I open a document in IE everthing works perfect.

  •  04-17-2008, 12:16 PM 9908 in reply to 4063

    You cannot edit the properties of this document while it is checked out or locked for editing by auther user. Sharepoint Error

    Hi Michael Knowle you have to check in the list item after that sharepoint will allow you to edit content. For check in you need to click on the list item menu and then click on Checked In after that it will ask you for continues check in or for this time only its up to you and enter comments for why you have checked in you document.
    Hope after this process you will be able to edit you doc.

    regards.
    Ali.


    Online Web Tutorials http://www.GlobalGuideLine.com
  •  02-12-2009, 1:02 PM 17234 in reply to 9908

    Re: You cannot edit the properties of this document while it is checked out or locked for editing by auther user. Sharepoint Error

    Hi there,

    I am experiencing he same problem but not with an Excel or Word document. I am not able to edit one of the homepages of our Sharepoint site. This homepage is a wiki-page. When I press Edit I get the message: "You cannot edit the properties of this document while it is checked out or locked for editing by another user".

    Any idea how to resolve this? Server-reboot maybe? Can't do this at the moment because there's another application running on this server, but it can be scheduled for next week.

    Thanks,

    Arjan.

     

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