Retrieve GUID from a workflow?
So I'm trying something very basic and I've run into a wall.
After a couple hours of hunting and pecking I assume I must be missing something easy.
I want to use the AddComputerToCollection component and that works fine when I hard code in a resource GUID.
However, from a user perspective, I want them to key in a machine name. From there I need to do a lookup in Workflow for the appropriate GUID so I can then run AddComputerToCollection.
How in the jelly do I retrieve the GUID for a user inputted computer name?!
Orrr...add a resource by name (instead of GUID) to a collection.
GetComputerIdByNameAndDomain
Have you tried the GetComputerIdByNameAndDomain-component. This should get your GUID in a single domain environment. As an alternative you could make a component to query the vComputer view
Thanks. I did end up making a
Thanks.
I did end up making a custom component that gets me the GUID but I replaced it with the component you referenced.
Hmmm. Hard to find that one.
How about RemoveComputerFromCollection? There is an Altiris component to AddComputerToCollection..can't find one for remove?!
The component you're looking
The component you're looking for is 'RemoveInclusion'.
Haha! Needle. Haystack. Why
Haha!
Needle.
Haystack.
Why some of these are clearly marked under the Altiris Category and some are not is a mystery.
Thank you very much for the replies. My faith in humanity is restored!
Would you like to reply?
Login or Register to post your comment.