Workflow Soluiton

 View Only
  • 1.  Workflow 7 GetAllDepartments component error

    Posted Jul 07, 2010 11:23 AM
    Hi.  I have a similar problem to dallasr's GetAllLocations error when I try to get all departments:




    I'm using Workflow 7 and NS7.  I've checked that Altiris/NSWebService/Resourcemodel.asmx is available on IIS.  I have used the SMP7 component.  I have entered the IP of the NS7 box in the global settings of the WF project.  Is there some other configuration that I need to do for the component in order for it to connect to the NS?


  • 2.  RE: Workflow 7 GetAllDepartments component error
    Best Answer

    Posted Jul 07, 2010 01:06 PM
    To use the generated resource components, you need the following:

    1. A create SMP Credentials component before the component, pointing to the SMP you're going to run against.
    2. The NS Web Services solution needs to be installed on the SMP you're running against

    Also, verify you're using the right component. There is probably a GetAllDepartments for both NS 6 and NS 7. You need to use the one with a namespace that resembles Altiris.Resource7.* (check the settings tab on the Edit Component dialog) or has an "(SMP 7)" appended to the name.


  • 3.  RE: Workflow 7 GetAllDepartments component error

    Posted Jul 08, 2010 04:16 AM
    Thanks, Reecardo.

    I had assumed that the global settings for the project were all the credentials I needed.  Adding the Create NS Credentials component was the solution.

    Paul