Not applicable

How to respond to event receivers that prevent an Update Item block from executing?

I have a project I am working on that has a custom event receiver we created added to a content type.

When my workflow tries to update a field on an item based on this content type and the event receiver says no way I get an error that reads:

The workflow could not update the item, possibly because one or more columns for the item require a ...

I know this is happening because my event receiver is preventing the update, but is there any way I can capture the message string the event receiver

is returning so I can present a more palatable error to the user?

0 Kudos