Application Approval Workflow for SCSM and SCCM 2012 R2 using SCORCH 2012 R2

 

 

I have been working to deploy the Application Approval Workflow (AAW) ( http://www.microsoft.com/en-us/download/details.aspx?id=29687)for SCCM and SCSM using SCORCH. It worked following the instructions for the most part but out of the box it did not populate the requesting user and just put a generic title for the Service Request in. I wanted more. I wanted the affected user and the title to say what application was being requested. It was time to mod the runbook. I only had to mod 1 runbook, that is the "Poll ConfigMgr for Application Requests" under  "Application Requests\Incoming". It took some work to figure out but I was able to do it. The biggest problem was ​AAW uses the "CM Request ID" and the Request Time/Date to identify the ticket that it is tied to. When reading the time it was in the format yyyMMddhhmmss.xxx. This has to be converted to a time format used in the ticket and converted from UTC to local server time. 

I have provided a Sample modified runbook for this here.

  1. These steps require the System Center Service Manager Connector
    1. Convert time and retrieve user: is a VB.Net script that converts the time to the proper format and retrieves the username
    2. Get Ticket: uses the CM Request ID and the converted time to get the ticket 
    3. Get Requested User Info: gets the username
    4. Add Relationship for User to Ticket: Links the AD user and the Affected User in the ticket
    5. Update Object: saves the info in the ticket and updates the ticket title.
  2. you will need to modify the "Synchronize Application Request" step in the "Application Request Synchronization" runbook in the "Automation" folder
  3. You will need you update the SCSM server name in the properties of each of the steps

 

This website and its content is copyright of ITHierarchy Inc - © ITHierarchy Inc 2013-2015. All rights reserved.

Any redistribution or reproduction of part or all of the contents in any form is prohibited other than the following:

  • you may print or download to a local hard disk extracts for your personal and non-commercial use only
  • you may copy the content to individual third parties for their personal use, but only if you acknowledge the website as the source of the material

You may not, except with our express written permission, distribute or commercially exploit the content. Nor may you transmit it or store it in any other website or other form of electronic retrieval system.

 

;