Workflow Soluiton

 View Only
  • 1.  Passing variable into SetStatusForAssetComponent

    Posted Feb 13, 2011 06:21 AM

    Good morning everyone,

    First off apologies if this doesn't make sense as I'm learning workflow on the fly here due to a role change and in at the deep end!

    I am in the process of working through a process to create a workflow to, among other things, retire machines within AD (if applicable) and altiris.

    The process starts by pulling in the types of assets from the symantec DB (computers, phones, etc..) and creating a webform for the Support guys to choose the type of asset they want to look for.

    After choosing the type from a drop down a grid is populated with the info. Choosing an entry and clicking retire then calls an embedded model that checks the asset type and if type=computer will retire in AD.

    What I can't do is to change the status with the Symantec database as the only component that I can see that does it is SetStatusForAssetComponent.

    If I manually add the ResourceGUID for a particular asset that works fine but I need to pass in the resourceGUID variable determined from earlier but I can't add (for instance) [SelectedAsset.Asset] variable as it's looking for a GUID.

    As I said that is maybe not explained very well as I'm still learning the Workflow lingo but any help or pointers will be very gratefully received.

    :)

    Jim



  • 2.  RE: Passing variable into SetStatusForAssetComponent
    Best Answer

    Posted Feb 13, 2011 06:56 AM

    I think I've sussed it. :)

     

    I was trying to either type in the Process Variable name into the ID field, which understandably it didn't like.

    And when choosing Process variable it was finding anything.

    I've since used the Dynamic Variable and linked my GUID with the ID field and all is good.

     

    :)