19
Mar
10

The Infamous “Error updating a list item” Error Message on a SharePoint Designer Workflow

I can’t tell you how many times I’ve seen this error message while creating SPD workflows.  Many times it is a permissions problem, as the workflow is generally running under the context of the credentials of the person who initiated it (at least in 2007).  Since the limitation exists in SPD 2007 workflows to not easily change the security context of the running workflow, I usually tighten the security around the lists and libraries I use to insure those participating in the business process workflows only have the security needed to function in their assigned role.

This particular "error updating a list item" problem was due to my overzealousness to log as much info as possible to the workflow history list.  Here’s what I was logging:

clip_image002

It turns out that that is too long!  If you look at the Description field on the Workflow History List you can see that it is defined as a single line of text, i.e. it can accept no more than 255 characters.  My log message exceeded this limit.

If you haven’t looked at the Workflow History List in SharePoint through the browser, you can use SPD to enable it so it shows on the "View all site content" page.  You can find it under the LIsts folder and select the properties sheet and uncheck the "Hide from browser" checkbox.

clip_image002[5]

Advertisements

0 Responses to “The Infamous “Error updating a list item” Error Message on a SharePoint Designer Workflow”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Asif Rehmani’s SharePoint Videos

SharePoint-Videos

Click to access a wealth of SharePoint videos

SharePoint Rx

SharePoint Rx Home

Categories

Posts by Date

March 2010
M T W T F S S
« Feb   Apr »
1234567
891011121314
15161718192021
22232425262728
293031  
Support Wikipedia

%d bloggers like this: