While troubleshooting a runbook in SMA, I found a reserved word that to my knowledge is not documented anywhere currently.
You cannot use $class as a variable in PowerShell workflow or SMA unless in an inlinescript block
This was the error I ran into:
The following errors were encountered while processing the workflow tree: ‘DynamicActivity’: The private implementation of activity ‘1: DynamicActivity’ has the following validation error: Compiler error(s) encountered processing expression “class”. Expression expected.
This blog post could be considered part 2 in covering the installation of SMA, In my previous post I showed you how to install the Web Service. In this post I am going to cover the installation of the SMA Runbook Worker.
In this blog post I have documented the steps to install the Service Management Automation Web Service, I have also included the PowerShell command to install all of the prerequisites windows features. If you want to lean more about Service Management Automation you can find the Technet Library documents here and the Building Clouds Blog also has blogged about SMA recently.