Note that there are some explanatory texts on larger screens.

plurals
  1. POFiring a SharePoint Workflow by updating a list item through List Webservice
    primarykey
    data
    text
    <p>I am developing, a simple SharePoint Sequential Workflow which should be bound to a document library. When associating the little workflow to a document library, I checked these options </p> <ul> <li>Allow this workflow to be manually started by an authenticated user with Edit Items Permissions. </li> <li>Start this workflow when a new item is created.</li> <li>Start this workflow when an item is changed.</li> </ul> <p>Now I upload a document to this library and the workflow starts and for instance sends a mail. It completes and everything is fine.</p> <p>When I select Edit Properties on the new Item and save a change, the workflow is fired again. Absolutely what we expected.</p> <p>Even when copying a new Item into the library with help of the Copy.asmx Webservice, the workflow starts normally.</p> <p>But <strong>now</strong> I want to update the item <strong>via the SharePoint WebService Lists.asmx</strong>.</p> <p>My <a href="http://en.wikipedia.org/wiki/Collaborative_Application_Markup_Language" rel="nofollow noreferrer">CAML</a> goes here:</p> <pre><code>&lt;Method ID='1' Cmd='Update'&gt; &lt;Field Name='ID'&gt;1&lt;/Field&gt; &lt;Field Name='myDummyPropertyField'&gt;NewValue&lt;/Field&gt; &lt;/Method&gt; </code></pre> <p>The Item is being updated (timestamp changed and a dummy property, too) but the workflow does NOT start again. </p> <p>This behaviour is reproducable on our development <strong>and</strong> test system.</p> <p>Checking the error logs (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS) I discovered a strange error message:</p> <pre><code>09/25/2008 16:51:40.17 w3wp.exe (0x1D94) 0x1D60 Windows SharePoint Services General 6875 Critical Error loading and running event receiver Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver in Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below. : The object specified does not belong to a list. </code></pre> <p>Anybody who can confirm this behavior? Or any solution hints? </p> <hr> <p>I am keeping you informed of any developments on this topic. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload