Insights Publishing Data from a .Net Script Activity in Orchestrator

Publishing Data from a .Net Script Activity in Orchestrator

When you are using the .Net Script activity in orchestrator you may be pulling in data that you would like to publish so that you can use it in the next activities. To do this first open your .Net Script activity in Orchestrator. In the example below I want to pass on the $department value and the $username value.

To Publish the data the first thing you need to do is click the Publish Data tab then click the Add.. button.

In the name sections put the name that you would like to use for the Data you are going to publish. In the type put the Type of data that you are going to publish. In the Variable name put the PowerShell variable that you want to pass along. Do not include the $ from the PowerShell variable. In the example below I am passing the department variable.

Now in any activity after your .NET you will be able to subscribe to the Published Data you created.