<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx</link><description>Introduction - 
 During my last blog post I detailed some of the internal components of the System Center 2012 Application Request and Approval system. Included was a look into the views created in the CM Database, WMI specific data and methods, and</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3572853</link><pubDate>Wed, 15 May 2013 10:07:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572853</guid><dc:creator>Neodolphin</dc:creator><description>&lt;p&gt;Hi Neil,&lt;/p&gt;
&lt;p&gt;First a big thank you for your post, it put me n the right way to code a real approval portal :)&lt;/p&gt;
&lt;p&gt;In the &amp;quot;Gather Data For Each Request&amp;quot; part you should add an IF $app is not null because if there is no approval demand with the status pending the script will fail with the error &amp;quot;You cannot call a method on a null-valued expression.&amp;quot; and so the runbook&lt;/p&gt;
&lt;p&gt;Like this :&lt;/p&gt;
&lt;p&gt;if ($app -ne $null)&lt;/p&gt;
&lt;p&gt;{ &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach ($appr in $app) {$comment = $appr.Comments; $user = $appr.User; $appName = $appr.Application; $date = $appr.ConvertToDateTime($appr.LastModifiedDate)}&lt;/p&gt;
&lt;p&gt;[........]&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;$action = &amp;quot;SecondEmail&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;$action=&amp;quot;None&amp;quot;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572853" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3561444</link><pubDate>Wed, 27 Mar 2013 21:23:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3561444</guid><dc:creator>itguru82</dc:creator><description>&lt;p&gt;How do you create the ASP.net program and where do I put it?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3561444" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3560577</link><pubDate>Sat, 23 Mar 2013 20:05:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3560577</guid><dc:creator>Neil Peterson</dc:creator><description>&lt;p&gt;I apologize but I am not going to be able to provide a sample installer for this application. All of the code is included in this posing and can be used to piece together the application.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;neilp&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3560577" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3556838</link><pubDate>Wed, 06 Mar 2013 17:19:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556838</guid><dc:creator>Mitch Schreiber</dc:creator><description>&lt;p&gt;That worked for me as well. &amp;nbsp;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556838" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3556643</link><pubDate>Tue, 05 Mar 2013 21:58:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556643</guid><dc:creator>Mats</dc:creator><description>&lt;p&gt;Hi Neal,&lt;/p&gt;
&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;I fixed it by deleting the runbooks and importing them again.&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t do that after installing the new IP&amp;#39;s.&lt;/p&gt;
&lt;p&gt;The application i will try to install myself.&lt;/p&gt;
&lt;p&gt;If i haven&amp;#39;t succeeded in 2 weeks i will come back ;-)&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Mats&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556643" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3556635</link><pubDate>Tue, 05 Mar 2013 21:38:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556635</guid><dc:creator>Neil Peterson</dc:creator><description>&lt;p&gt;Thanks for the feedback, I have updated this blog to indicate that both the Data Manipulation and Active Director Integration packs must be deployed to the Runbook Designer before importing the sample Runbooks.&lt;/p&gt;
&lt;p&gt;Mats - if you are still having issues with this can you email me offline, I will assist.&lt;/p&gt;
&lt;p&gt;I have also received multiple requests for an installer that will install the Approval application. I have limited cycles at the moment but am working on one and hope to have it published within the next two weeks.&lt;/p&gt;
&lt;p&gt;neilp&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556635" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3556612</link><pubDate>Tue, 05 Mar 2013 20:28:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556612</guid><dc:creator>Mitch Schreiber</dc:creator><description>&lt;p&gt;Hello, &amp;nbsp;I am having the same issue as Mats. &amp;nbsp;It looks like the Get email Address runbook relies on a integration pack that I do have have. &amp;nbsp;I downloaded the Data Manipulation IP as described above but that does not seem to be the missing integration pack. &amp;nbsp;It shows as all question marks and cannot display the properties.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556612" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3555364</link><pubDate>Wed, 27 Feb 2013 19:27:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3555364</guid><dc:creator>Mats</dc:creator><description>&lt;p&gt;Liam,&lt;/p&gt;
&lt;p&gt;I installed the data manipulation pack.&lt;/p&gt;
&lt;p&gt;It shows in SCO, but i still have the question marks.&lt;/p&gt;
&lt;p&gt;and an error that says: the property for this activity cannot be viewed.&lt;/p&gt;
&lt;p&gt;I have data manipulation IP and AD IP.&lt;/p&gt;
&lt;p&gt;Hope to hear from you&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mats&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3555364" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3554980</link><pubDate>Tue, 26 Feb 2013 10:58:02 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3554980</guid><dc:creator>Liam</dc:creator><description>&lt;p&gt;Hi Mats,&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://orchestrator.codeplex.com/releases/view/83934"&gt;orchestrator.codeplex.com/.../83934&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Liam&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3554980" width="1" height="1"&gt;</description></item><item><title>re: Configuration Manager Application Request: Sample Notification and Approval Automation Solution</title><link>http://blogs.technet.com/b/neilp/archive/2012/09/25/configuration-manager-application-request-notification-and-approval-solution.aspx#3554955</link><pubDate>Tue, 26 Feb 2013 08:12:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3554955</guid><dc:creator>Mats</dc:creator><description>&lt;p&gt;Hi Liam,&lt;/p&gt;
&lt;p&gt;Wich version did you download and do you have a link?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mats&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3554955" width="1" height="1"&gt;</description></item></channel></rss>