Video Screencast Help

New computer GUID delay for task assignment

Created: 04 Dec 2012 • Updated: 07 Dec 2012 | 1 comment
This issue has been solved. See solution.

I have a custom script using the Altiris ASDK (for 7.1) that creates a new pre-defined computer, and then assigns an installation job to the GUID returned when the pre-defined computer was created.

My problem is that there is a time lag between when the GUID is returned with the pre-defined computer creation, and when that guid can actually be assigned to a job.  If I do it immediately afterwards, an error is returned because the job can't find the listed computer GUID.  If I put a random wait in (i.e. 2 minutes) then the computer is assigned to the job, so the script itself definitely works. 

So what I'm hoping to find out is what options exist for immediately syncing the predefined computer GUID with where ever the job/task is doing its lookup for assignable computer GUIDs.  Is there something available in the ASDK to do this?  Is there a Stored Proceedure (and if so which one) that could be triggered to accomplish this? 

Thanks in advance for any help. 

Comments 1 CommentJump to latest comment

deviant1's picture

Think I got this figured out.  There was a scheduled task "NS.Delta Resource Membership Update.{GUID}"

Triggering that task seems to do what I needed. 

SOLUTION