search cancel

Error -1 Deploy job (After scoping and filtering no computer are left assigned to this task)

book

Article ID: 161645

calendar_today

Updated On:

Products

Altiris Software Development Kit (ASDK)

Issue/Introduction

 If we have 1 job with only 1 server task and 1 Power control task (restart server) the job will not run and gives the message: "After scoping and filtering no computer are left assigned to this task"

Example Job :

  • Task 1: Create new VM (PowerShell Script, Server Task)
  • Task 2: Restart Computer (Altiris powercontrol)

"After scoping and filtering no computer are left assigned to this task"

Cause

The computer targeted was a predefined machine and during the jobs various sub-agents were installed which may also check the licenses and start installing the agent plugins.

Resolution

We resolved the issue by inserting a new record for the predefined computer in the [dbo].[Inv_Client_Task_Resources] table.

This allowed the computer to run the task.

Note: If you make this change be quick to run the job on the pre-defined computer, as computers that have reported data in the inv_client_Task_resource table will be removed from the predefined computer filter.