AnsweredAssumed Answered

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

Question asked by maxmanzero on Jun 21, 2016

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 different type of information

 

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?

Outcomes