ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Automation policy task is failing.

book

Article ID: 161245

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

Automation policy is failing at the task portion of the policy which prevents the email from being sent out.

Status: Failed Return code: -1 Start time: 10/3/2014 8:17:03 PM End time: 10/3/2014 8:17:03 PM Total run time: 0 seconds An unknown exception was thrown. Show raw exception message System.Exception: Unable to get a .NET type named [null] at Altiris.DotNetLib.Collections.ParamInfo.ToValue() at Altiris.DotNetLib.Collections.SerializedParameterCollection.ToParameterValueCollection() at Altiris.TaskManagement.Data.TaskExecutionInstance.LoadInputParameterValues() at Altiris.TaskManagement.Common.Data.BaseTaskExecutionInstance.get_InputParameterValues() at Altiris.TaskServerTasks.SendEmailTask.SendEmailServerTask.OnExecute(IServerTaskExecutionInstance instance) at Altiris.TaskManagement.ServerTasks.BaseServerTask.Execute(ITaskExecutionEngine engine, IBaseTaskExecutionInstance instance, TaskInstanceRequest request) at Altiris.TaskManagement.Common.Execution.Engine.TaskEngineExecutionThread.ExecuteTaskHandler()

Cause

There is a NULL value in the report being used to generate the data for the email, which causes the task to fail with the above message.

Resolution

  1. Navigate to the automation policy in question.
  2. Locate the Conditions section.
  3. Change the drop down menu for evaluation rule to "Run for each record"
  4. Click Save changes and test the automation policy.

Applies To

7.5 SP1 HF3