none
Share Point Service 3.0 Workflows "Error Occoured" RRS feed

  • 問題

  • 您好:

         請問各位高手,小弟使用WSS3.0 內建的Three-state Workflows發生了一各問題,就是有的flow很順利的完成了,但是卻也有某些flow跑到一半卻出現 "Error Occoured",不知是否有地方能查詢Error是發生在哪各部份,亦或能避免這些Error再度發生。

     

    謝謝~

    2008年2月5日 上午 06:05

解答

  • Dear:

     

    I have created a custom approval workflow in a document library. On customize workflow screen I selected the following option:
    [x] Update the approval status (use this workflow to control content approval)

    During workflow testing I was surprised when SharePoint reported the following error:
    “An error has occured in Approval.“

    The solution for this problem is very simple, if you want your workflow to update approval status you need to enable content approval in your document library. To enable content approval here is what you need to do: Go to your document library Settings > Versioning Settings and select „Yes” for “Require content approval for submitted items?“ option.

    2008年2月19日 下午 06:09

所有回覆

  • Dear:

     

    下列這一個選項要勾選:

     

    Assign a single task to each group entered (Do not expand groups).

    Try It~~

    2008年2月8日 下午 05:41
  • 我有check了一下,您指的是Task Assigned To: 的地方需要有People or Group被Assign的意思嗎?

    在Task Assigned To: 的地方有兩各選項1.Include list field:  2.Custom:   (這各地方已有勾選了) 

    其實我有整個three state flow complete 的, 也有到第二個state就出現Error

     

     

    補充一下,這各Work Flow是在Infopath 2003 的Form Library中運作的

     

     

     

    2008年2月12日 上午 05:21
  • Dear:

     

    1. 這各Work Flow是在Infopath 2003 的Form Library中運作的 --> Infopath 2003?? 不懂@@
    2. 是否可以提供相關的 Event Log

     

     

    2008年2月12日 上午 10:57
  • 1. 就是文件庫,我的文件是 InfotPath2003 的文件以表單庫(Infopath form library)方式呈現。結合每個表單需 run Workflow

    2. 我找不到(或是不知道)哪裡有 Event Log ,目前只有看到下列訊息

     

    Workflow Information


      Initiator: Tom  Document: AAA
      Started: 2/1/2008 1:50 PM Status: Canceled
      Last run: 2/12/2008 11:19 AM  
     


    Tasks

    The following tasks have been assigned to the participants in this workflow. Click a task to edit it. You can also view these tasks in the list Tasks.

    Assigned To
    Title
    Due Date
    Status
    Outcome
    There are no items to show in this view of the "Tasks" list. To create a new item, click "New" above.


    Workflow History

    The following events have occurred in this workflow.

    Date Occurred
    Event Type
    User ID
    Description
    Outcome
    2/1/2008 1:50 PM Workflow Initiated
    Tom
    Three-state workflow started on http://WSS3.0/TestForm/AAA.xml.
    2/1/2008 2:11 PM Error
    System Account
    An error has occured in Test Flow.
    2/12/2008 11:19 AM Workflow Canceled
    Ken
    Workflow Test Flow was canceled by Ken.

    2008年2月18日 上午 01:32
  • Dear:

     

    I have created a custom approval workflow in a document library. On customize workflow screen I selected the following option:
    [x] Update the approval status (use this workflow to control content approval)

    During workflow testing I was surprised when SharePoint reported the following error:
    “An error has occured in Approval.“

    The solution for this problem is very simple, if you want your workflow to update approval status you need to enable content approval in your document library. To enable content approval here is what you need to do: Go to your document library Settings > Versioning Settings and select „Yes” for “Require content approval for submitted items?“ option.

    2008年2月19日 下午 06:09
  • 您好,

     

    我知道您的意思,但這並不是 "Content Approval" 的問題,這是 "Work Flow" 的問題。

     

    因為這各Error持續都一直在發生,所以我後來有複製出來,只要 "Infopath Form 開著的時候"去complete 這各workflow的status,就會產生System Error,而且我有在Server找到Log,如下

     

     

    04/09/2008 13:31:04.40  w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    General                        8kh7 High     The file "http://WSS3.0 Test Form/表單1.xml" is checked out or locked for editing by Wince\970000. 
    04/09/2008 13:31:04.40  w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    General                        8e2r Medium   Possible mismatch between the reported error with code = 0x8107090e and message: "The file "http://WSS3.0 Test Form/表單1.xml" is checked out or locked for editing by Wince\970000." and the returned error with code 0x81020036. 
    04/09/2008 13:31:04.76  w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected Microsoft.SharePoint.SPException: The file "http://WSS3.0 Test Form/表單1.xml" is checked out or locked for editing by Wince\970000. ---> System.Runtime.InteropServices.COMException (0x81020036): The file "http://WSS3.0 Test Form/表單1.xml" is checked out or locked for editing by Wince\970000.     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bP... 
    04/09/2008 13:31:04.76* w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected ...ublish)     at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarA... 
    04/09/2008 13:31:04.76* w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected ...ttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)     at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents)     at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents)     at Microsoft.SharePoint.SPListItem.Update()     at Microsoft.SharePoint.Wo... 
    04/09/2008 13:31:04.76* w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected ...rkflow.Application.IssueTracking.IsTaskCompleted(Guid taskId, SPWorkflowTaskProperties creationProps, Hashtable properties, String executor, String& outcome)     at Microsoft.SharePoint.Workflow.Application.IssueTracking.CheckFlags(Object sender, EventArgs e)     at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)     at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWork... 
    04/09/2008 13:31:04.76* w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected ...flowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run() 
    04/09/2008 13:31:04.76  w3wp.exe (0x1530)                        0x17B0 Windows SharePoint Services    Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 82cd1b03-5bc4-4567-8d3b-758728a699a6 
    04/09/2008 13:31:18.98  w3wp.exe (0x1530)                        0x1570 Windows SharePoint Services    General                        72ng Medium   RPC method = uncheckout document  
    04/09/2008 13:31:54.29  w3wp.exe (0x1530)                        0x178C Windows SharePoint Services    General                        72ng Medium   RPC method = server version
    2008年4月9日 上午 06:18