SCO/SCSM 2012: Approval does not work from portal when review activity was created by runbook/script/SDK!

Today i had this weird problem.

 

The Review activities i created from my orchestrator runbook, did not work!

I was able to approve, but they never completed!

But this was only the case when approving from the portal. It worked as expected from the console!

 

After some research i managed to find the problem:

Approval Condition was NULL!

This means that the Review activity will never complete.

 

So why did it work from the console?

Well you see, the default dropdown value for the “approval condition” is unanimous! and therefore, whenever i opened it in the consoel and saved it by clicking OK, the value was added to the activity!

 

image

 

This means that whenever you create a review activity dynamically , you need to specify the approval condition property.

In Orchestrator this property is a optional property (the reason why i had not filled it)

 

image

 

Ofcause you can set it to percentage and set a percentage too!

 

 

Merry x-mas and happy automating!

 

(I wish i could automate my x-mas present shopping!… well maybe next year!)

By | 2013-12-20T11:32:47+00:00 December 20th, 2013|Automation, Service Manager (SCSM)|5 Comments

About the Author:

Jakob Gottlieb Svendsen

Twitter: @JakobGSvendsen

Jakob Gottlieb Svendsen is a Microsoft Cloud and Data Center Management MVP (http://mvp.microsoft.com/en-us/default.aspx), Working as Global Lead Developer, Senior Consultant and Trainer at CTGlobal, where he is one of the driving forces in keeping CTGlobal a System Center Gold Partner and member of the System Center Alliance.

Since he started at Coretech in 2007, he has focused on Scripting and Development, primarily developing tools, extensions and scripts for the System Center Suite. His main area is Automation (including OMS/Azure Automation, Service Management Automation, PowerShell and Orchestrator). Another area is Windows Azure Pack / Azure Stack, where he does implementation, development, workshops and presentations. He is a world-wide renowned voice in the Automation field.

He is passionately devoted to the community, to which he contributes by being a moderator at TechNet and sharing his knowledge at http://blog.ctglobalservices.com/jgs

  • Co-founder: PowerShell User Group Denmark
  • Speaker at MMS 2016, Minneapolis (www.mmsmoa.com)
  • SCU Europe 2014, 2015, 2016 (www.systemcenteruniverse.ch)
  • Microsoft TechEd North America 2014, Houston
  • NIC 2012,2013,2014,2015, Oslo (www.nic.com)
  • Microsoft CampusDays 2011, 2013, Copenhagen
  • Microsoft TechDays 2015, Sweden (www.techdays.se)
  • Microsoft Partner Event: New in SC2012 SP1
  • User group meetings (PSUG.DK , SCUG.DK/BE/NO, AZMUG + more)
  • Microsoft Certified Trainer.
  • Microsoft Scripting Guys Forum Moderator

Main working areas:

  • Automation (Azure Automation, SMA, SCO)
  • Windows Azure Pack / Azure Stack
  • System CenterVisual Studio Team Services / Team Foundation Server
  • Development:C#.Net, VB.NET, VBScript, PowerShell, Service Manager, OpsMgr, ConfigMgr
  • Orchestrator
  • Windows Azure Pack / Azure Stack

Training:

  • Azure Automation
  • Service Management Automation
  • System Center Orchestrator
  • PowerShell, VBScript, C#.Net, VB.Net
  • Windows Azure Pack / Azure Stack Development Workshops

5 Comments

  1. Michael Amadeus Christiansen December 20, 2013 at 17:55 - Reply

    Great find,

    Maybe ebay, and amazon exposes APIs for use in orchestrator?

  2. […] 2012: Approval does not work from portal when review activity was created by runbook/script/SDK! http://blog.coretech.dk/jgs/scoscsm-2… SCSM Icon Pack: http://scsm.us/2013/scsm-portal-icon-… Kathleen Interview Optimizing Service […]

  3. […] –      Approval does not work from portal when review activity was created by runbook/script/SDK! http://blog.coretech.dk/jgs/scoscsm-2012-approval-does-not-work-from-portal-when-review-activity-was…/ […]

  4. Kourtney December 23, 2016 at 6:04 - Reply

    It constantly is amazing to me how blog writers such as your self can find enough time and also the commitment to carry on writing excellent discussions. Your website iswonderful and one of my ought to read weblogs. I just wanted to thank yoa08#23&;.Heulthy Women UT Keynote Speaker I was suggested this blog by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my difficulty. You’re amazing! Thanks! your article about Healthy Women UT Keynote Speak…

Leave A Comment