ASDK Get Task Results component does not process the status properly.
search cancel

ASDK Get Task Results component does not process the status properly.

book

Article ID: 161641

calendar_today

Updated On:

Products

Workflow Solution

Issue/Introduction

ASDK Get Task/Job Results component does not process the status properly. Result comes back from SMP Task Management web service as expected but the component does not process this result properly.

If 'Allow Null Return' is 'Get [YourJobName] Results Component' is not checked, exception will be thrown. If it is checked, resulting variable will be empty regardless of the actual result from SMP Task Management web service.

Environment

Workflow 7.x, 8.x

Cause

Defect. This issue should have been fixed in recent 8.7.x versions

Resolution

To workaround this issue we need to call data directly form WebService creating new Integration Component. 

  1. Create new Integration project to call Web Service on SMP server. WebServiceCaller
  2. Add URL: 
    http://SERVERNAME/altiris/asdk.task/TaskManagementService.asmx 

    Note:
    You will need to check HTTP Authentication Option.

  3. Click next till you can Select Components.  Select GetTaskResourceStatusComponent only and Finish.
  4. Import new integration Library and Add newly created component to your project to display Job status