Custom Close Task for Rejected Service Requests in #SCSM 2012

In one of my previous post I wrote about how to set a status of declined Service Requests to Rejected instead of Failed. I received many thanks from the community and that was pleasant. However, one reader, Martin, added a comment about Close task that couldn’t be applied to Rejected Service Requests.

I quickly checked the Close Task definition in its management pack and found that this task used criteria that filtered Service Requests by their status. OK. I decided that I would disable the original Close tack and created a new custom Close task very similar to the original one but with a new criteria accepting Rejected status. I did it but the new task said, “You cannot close a service request with status Closed”.

screenshot11

That moment I understood that it wouldn’t be a quick win. The original task checked the Service Request status against some predefined list that of course didn’t include Rejected status.

So I needed to create my very own custom task that would resemble the original Close task but support Rejected status in Microsoft System Center 2012 Service Manager.

Read the rest and download the files here.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.