Workflow Soluiton

 View Only
Expand all | Collapse all

Workflow trying to get a list of Computers (both real and virtual)?

  • 1.  Workflow trying to get a list of Computers (both real and virtual)?

    Posted Jan 13, 2012 06:58 AM

    Dear All,

    In Workflow, does anyone know how to get a list of computers (both real and virtual) from SMP and put these into a grid? I have seen the SWAT video about editing a Resource, but nothing about getting a list of Resources.

    Having said that, I have generated a WebService module around the SMP Web Service to create the GetResources and GetresourcesByType components and I have had a look at these, but the problem is that the GetResourcesByType only gets one Resource Type (i.e. Computers, but not Virtual Computers). If I were to get both of these (AEX AC Identification only), how would I stick the two lists together as well for display in the grid?

    Kindest regards,

    QuietLeni



  • 2.  RE: Workflow trying to get a list of Computers (both real and virtual)?

    Posted Jan 13, 2012 04:30 PM

    I'm not sure on your first question, I usually just pull from AD then tie in the GUIDs.

     

    To answer your second question (or at least attempt to) it looks like there is an option for Virtual Machine at the bottom of the resource list. The only problem with that though is the data types are different. (One is Computer, other is Virtual Machine) though all the options look the same. I imagine you could just use a multi value mapping component to get them into the same data type. Once that happens the Add Items to Collection component should allow you to put everything in one group.

     

    I'm diving into the Asset Management side of workflow myself so hopefully this gets you going. I'd definitely be interested to see what else you're doing with AM.