Building own Message Activity with Orchestrator Integration Toolkit (OIT)

Bewertung:  / 10
Erstellt am Dienstag, 10. April 2012 Geschrieben von Stefan Horz

Recently I often have seen the „Send Platform Event” Activity to demonstrate the behavior of Runbooks. The messages will be visible in the Event Tab of the Designer then.

I personally think a popup is for demo and training purposes much more effective. Here we will build our own “Popup-Activity” using Orchestrator Command-Line Activity Wizard from Orchestrator Integration Toolkit (OIT).

Perhaps you know the old “Popup”-Object from Opalis. Because it was built on “net send” using the  “Windows Messenger Service” which doesn’t exist in Windows 2008 anymore it has gone. A possibility for sending messages to Windows 7 or Windows 2008 Computers is the “msg”-command.

C:\Users\Administrator>msg /? Send a message to a user.

MSG {username | sessionname | sessionid | @filename | *}     [/SERVER:servername] [/TIME:seconds] [/V] [/W] [message]

Based on the “msg”-command we will create our own activity for messages using Orchestrator Command-Line Activity Wizard from Orchestrator Integration Toolkit.

The Orchestrator from Orchestrator Integration Toolkit can be downloaded here.

After the installation we start the Orchestrator Command-Line Activity Wizard from the Start Menu.

Because we have no own dll to load we click “Next”.


As Assembly Details we provide the Name “OwnIP” and the Assembly file “owndll”.


Now we click on “Add” to add our own Command.


We have to fill out the General- and the Arguments-Tab.

General-Tab Name: Popup, Mode: “Run Command”


At the Arguments-Tab we first add the parameters. Later in the Runbook we can fill this parneters with text, Variables or Published Data.



Then we create the command inserting the parameters: msg $(User) /server:$(Computer) $(Message)


At this time we do not add a additionally activity an click „Next“.


After building the assembly we will build an Integration Pack.


Product name: Own IP
Category name: New Notification
Company: My Company


We only have the one Popup Activity


and do not need to deploy any additionally resource files for this command.


We save it as “OwnIP.oip”


Now you can register and deploy your Integration Pack like any other Integration Pack.14