Cancel pending activities in a failed Service Request

Travis Wright has a couple of years ago, written a blog on how to cancel pending activities in a failed Change Request: http://blogs.technet.com/b/servicemanager/archive/2011/05/03/cancelling-pending-activities-when-a-change-request-fails.aspx I often get the request to make a similar solution for Service Requests and thought it was about time to document it.  Open the Authoring console and create a new Management Pack….