Hi All,
I'm developing a SharePoint State Machine workflow, and in one of the states
am wanting to update a status column on the item upon which the workflow is
operating.
I am trying to update the list item using the following code:
workflowProperties.Item["Request Status String"] = "Invalid
Request";
workflowProperties.Item.SystemUpdate();
The exceptions being generated are:
WinWF Internal Error, terminating workflow Id#
2360b1f3-d464-4b2b-9462-c620762ac7a5
Microsoft.SharePoint.SPException: Save Conflict Your changes conflict with
those made concurrently by another user. If you want your changes to be
applied, click Back in your Web browser, refresh the page, and resubmit your
changes. --->
Now I've tried this code with the Update method, and as above with the
SystemUpdate method on the advice of a number of posts I found, but all to
no avail.
Can people advise on the best-practice for updating the underlying item
associated with a workflow instance, from within that workflow instance.
Kind Regards,
Trevor Andrew
------------------------------------------------------------------- OzMOSS.com
- to unsubscribe from this list, send a message back to the list with
'unsubscribe' as the subject.
Powered by mailenable.com