Create a new Orchestrator Runbook Activity

  1. Download "WiX Toolset  v3.5"  from the link: https://wix.codeplex.com/releases/view/60102 . Download Wix35.msi

 

  1. Download - "System Center 2012 – Orchestrator Component Add-ons and Extensions" from the link : https://www.microsoft.com/en-us/download/details.aspx?id=28725.  Download :
    System_Center_2012_Orchestrator_Integration_ToolKit.exe

 

  1. Now create a "Hello World" class library.

 We will need to have reference to "Microsoft.SystemCenter.Orchestrator.Integration.dll" in our class library which is installed at  “C:\Program Files (x86)\MicrosoftSystem Center 2012\Orchestrator\IntegrationToolkit\Lib”). The class file looks like : 

namespace OrchestratorSDKExample
{
    [Activity ("HelloWorld") ]
    public class HelloWorldActivity
    {
        private string hwinput;

       [ActivityInput("Hello World Input")]
        public string HWInput
        {
            set { hwinput = value; }
        }

       [ActivityOutput("Hello World Output")]
        public string HWOutput
        {
            get  {
                char[] arr = hwinput.ToCharArray();               
                Array.Reverse(arr);
                return new string(arr);
            }
        }    
    }
}

Compile the class and keep the dll ready. 

For more doubts, you can refer to the link:  https://msdn.microsoft.com/en-us/library/hh855059.aspx

 

  1. Now we need to create an Integration Pack. 

Start the Integration Pack Wizard. Click Start > All Programs > Microsoft System Center 2012 > Orchestrator >Integration Toolkit > Orchestrator Integration Pack Wizard. 

For more help use the link:  https://technet.microsoft.com/en-us/library/hh855852.aspx

 

  1. Now, to deploy this integration pack in our orchestrator, use Deployment Manager . Following are the steps given in the link : https://technet.microsoft.com/en-us/library/hh420346.aspx , https://technet.microsoft.com/en-us/library/hh967537.aspx

 

We can now see our custom  integration pack in the activity Pane and use it

Comments

  • Anonymous
    September 09, 2014
    Excellent article!

  • Anonymous
    October 05, 2015
    short and informative