{"id":10283,"date":"2005-10-28T12:09:29","date_gmt":"2005-10-28T16:09:29","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/buckh\/?p=10283"},"modified":"2019-05-06T12:10:48","modified_gmt":"2019-05-06T16:10:48","slug":"getting-email-when-someone-overrides-a-policy","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/getting-email-when-someone-overrides-a-policy\/","title":{"rendered":"Getting email when someone overrides a policy"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.msdn.com\/jmanning\/\">James Manning<\/a> today pointed out a post from <a href=\"http:\/\/blogs.infosupport.com\/marcelv\/\">Marcel de Vries<\/a> showing how to register for email when someone&nbsp;checks in&nbsp;after overriding a policy failure.&nbsp; While any policy failres and override comment are included in the standard check-in email, this allows you to get an email specifically when someone overrides a policy failure.&nbsp; It&#8217;s only a few lines of code, and it uses the built-in event system support for sending emails.&nbsp; He even provides a link to a zip file with the solution.<\/p>\n<p><a href=\"http:\/\/blogs.infosupport.com\/marcelv\/archive\/2005\/10\/18\/1635.aspx\">How to receive email on a Team Foundation check in policy violation<\/a><\/p>\n<p>[Update] He mentions in the post that the delivery of the events is guaranteed: &#8220;the implementation also has a guaranteed delivery system using SQL server.&#8221;&nbsp; Though the events do get queued&nbsp;for delivery&nbsp;in a table in the SQL DB, there&#8217;s no guarantee that an event gets recorded, because&nbsp;the recoding of the event is&nbsp;not transactional with respect to the work that generated the event.&nbsp; It&#8217;s pretty robust, but it&#8217;s not guaranteed.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>James Manning today pointed out a post from Marcel de Vries showing how to register for email when someone&nbsp;checks in&nbsp;after overriding a policy failure.&nbsp; While any policy failres and override comment are included in the standard check-in email, this allows you to get an email specifically when someone overrides a policy failure.&nbsp; It&#8217;s only a [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10283","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"blog_post_summary":"<p>James Manning today pointed out a post from Marcel de Vries showing how to register for email when someone&nbsp;checks in&nbsp;after overriding a policy failure.&nbsp; While any policy failres and override comment are included in the standard check-in email, this allows you to get an email specifically when someone overrides a policy failure.&nbsp; It&#8217;s only a [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/10283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=10283"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/10283\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=10283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=10283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=10283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}