Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

Getting Target computer ResourceGuid at NS

Created: 23 Nov 2011 | 1 comment
peeyushd's picture

Hi,

I have a specific requirement where I need to perform some operation at NS when the task scheduled on the client gets completed. I have overridden a function "OnExecutionComplete" in my task class which gets called when the task gets completed but I am not able to fetch the ResourceGuid of the target computer on which I have scheduled the task .

How can I read the ResourceGuid of the target computer at NS ?

Thanks in Advance.

Regards,

-- Peeyush

Comments 1 CommentJump to latest comment

sushrut sane's picture

Hi,

You can get the ResourceGuid of target computer from the database table 'Evt_Task_Instances'. You can check the ResourceGuid against particular task instance you have created.

Thank you.