If you get the Error “Cannot resolve display name [Pending] to name” in your Orchestrator activity log for System Center Service Manager it could be a problem with your language settings for the Orchestrator service account.
The error log in the Orchestrator console.
Check what language the service account is using. If it is not set to English (United States) try changing it to English (United States), restart the service and try the Runbook again.
You can see what language the service account is running under by checking the register with regedit.
If not English start a command prompt with the Orchestrator service account credentials and run intl.cpl. Change the language and restart the Orchestrator Services.
You can find the information about the list “Incident Classification” in Management Pack “Service Manager Incident Management Configuration Library”.
This is my contribution on how you can create an Orchestrator database to store information when running the Runbook.
This is how a Runbook could look like when adding log to the database.
Every “Write to Log” is adding information into the database with an INSERT clause. I use three different status messages depending on what is happening in the Runbook. The three different status messages I am using is: Success, Failed and Done.
This database is also perfect for reporting on how many Runbooks have been ran during a certain period.
Creating the database file: CreateOrchestratorDB
This Runbook copies everything inside a file on a Linux system and puts it on the databus. The text can then later be used in the Runbook and for example be copied to a text file.
In the example below the text in a Linux system text file will be copied to a text file.
Details on the Run SSH activity in Orchestrator.
Details on the Append Line activity in Orchestrator.
Execution Result is appended in the Text field at the Append Line activity.
This solution divides a comma separated input and passes every separated value forward in the Runbook one at the time.