Video Screencast Help

DS 7.1 and Workflow

Created: 31 Jan 2013 | 5 comments
Marco Nigg's picture

I try to use the Deployment Components in a Workflow. For a test, created the following Workflow:

When I start the Debuger, the following error occurs:

Component Executed: Start (LogicBase.Components.Default.Process.StartComponent), exit path is ''


Component Executed: Create DS Connection Profile (Symantec.Components.DS.Components.CreateDSCredentialsComponent), exit path is ''


Exception: 'System.NullReferenceException' (Object reference not set to an instance of an object.) occured at at Symantec.Workflow.Core.DS.DeploymentServerConnectionProfile.get_ComputerService()

at Symantec.Workflow.Core.DS.DeploymentServerFacade.ListComputers(String searchPhrase)

at Symantec.Components.DS.Components.ListComputersComponent.DoRun(IData data)

at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)

at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)

Whats wrong? 

Comments 5 CommentsJump to latest comment

reecardo's picture

The out-of-the-box DS components only function on DS 6.9 and below. (back when DS was a "standalone" product and not incorporated into the SMP as a solution)

To use DS 7+, you basically have to make use of the various DS tasks from the SMP by rerunning the Tasks generator to pick them up and make components for them.

noodleNT's picture

I am not sure if that is still the case now. According to the SDK Help file thats on the NS for 7.1 SP2, there is an Altiris.ASDK.DeploymentSolution.COM object now. Not sure how you use it though.

reecardo's picture

In addition to the task types introduced by the DS solution, the ASDK (non task) generator will attempt to hit this web service if it exists:

        <category>Altiris 7.Web Services.DSTaskManagement</category>

This might be the web service mentioned in the post above. You can rerun the generator to pick up new component wrappers from this service.

If you don't want to rerun the generator, you can always use the web service generator to hit any ASDK DS web service introduced.

noodleNT's picture

Correct Reecardo,

I just compiled my web services component with the new ASDK for DS. It look like you just pass it an XML file to create or use DS task. For instance, the big one I have been waiting for is Add Predefined Computers.

</DeploymentItem>'s picture

I'm not sure I'm following what you did to get to this. How did you determine what the xml should look like? Also, can you provide some detail on the steps for compiling the web service component with the DS ASDK?

If a post solves your issue, please mark it as a solution. It makes these forums better for everyone.