Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Just wondering if it's possible to catch a submit to SharePoint list success/failure. I have a situation where we're inserting into a database as an action that follows a SharePoint submit, and if the submit fails (for valid reasons), I'd like to capture that to not run the actions afterwards.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

It has always been a pain point with submits and custom rules that they don't have error states associated with data connections. If you can uniquely identify the list item you are submitting based on column values, I would query the list immediately after the submit as a separate receive data connection, then put a conditional rule to check if the row was returned, and flag it to not run any remaining rules.

The other alternative (and the one that I have used the most in the past when I have complex submit logic) is to write a custom web service.

share|improve this answer
    
Thanks Chris, I think I'm gonna go down the web service route. –  Sean Regan May 10 '11 at 20:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.