Hello.
I posted a topic about trigger values concerning services wich seems to have disapeared.
I set up a job that triggers on a service and if the status Changes on that service.
In the job there is a task that emails me the name of the Active job, the displayname of the serveice and the status of the service, using the following text and variables:
{TRIGGER(Active|LastTrigger|Job.Name)} {DATEFORMAT(yyyy-MM-dd HH:mm)}
Server: {COMPUTER(Name)}
Service: {TRIGGER(Active|LastTrigger|Service.Result.DisplayName)}
Changed to state {TRIGGER(Active|LastTrigger|Service.Result.State)}
This works on the Microsoft print spooler service for example, but not on the Microsoft SharePoint Workspace Audit Service.
I get the following result on the failing service:
TranslateVariables->Unhandled error: Object reference not set to an instance of an object. on string: Service Monitor 2015-07-08 09:32
Server: E76A0086
Service: {TRIGGER(Active|LastTrigger|Service.Result.DisplayName)}
Changed to state {TRIGGER(Active|LastTrigger|Service.Result.State)}
There seems to be differences in the setup of the different services but I can't see what it is.
Grateful for help.
Best regards
/Jesse