A blog by Pilothouse Consulting
Designer Workflows and Event Handlers
A savvy student in a SharePoint 2010 class today asked about event handlers and Designer workflows. As I am wont to do, I just “did it” to see exactly what happened.
When having a Designer workflow (associated with a list) kick off automatically, an ItemAdded and ItemUpdated event handler are attached to the list in question to handle said kickoff. If you want to have some code run via event handler before the workflow starts, your best bet is to use ItemAdding, as ItemAdded won’t be guaranteed to run before the workflow starts.
This is one of those cases where the term “asynchronous” with regard to the ItemAdded event handler can be taken to mean what the actual word means, instead of as a substitute for “after.”
| Print article | This entry was posted by Duke on June 16, 2010 at 3:24 am, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |


