Norway Endpoint Management User Group

 View Only
  • 1.  Set Computer/Asset status to Retired from workflow

    Broadcom Employee
    Posted Apr 25, 2012 09:50 AM

    I am trying to automate the retirement of computer using a workflow. I am able to identify the computer GUID, but I cannot find how to set the Asset status to retired. Any advice?



  • 2.  RE: Set Computer/Asset status to Retired from workflow

    Broadcom Employee
    Posted Apr 25, 2012 10:27 AM

    Have you tried using the Set Status For Asset Component in the generated Resource library? It should come with the default Workflow install. If not, you can rerun the Resource Generator for SMP 7 against a SMP that has Asset installed to get the component.



  • 3.  RE: Set Computer/Asset status to Retired from workflow

    Broadcom Employee
    Posted May 09, 2012 08:47 PM

    I have now played with the Set Status For Asset Component, and I can set the status but…. To set the status it needs two types – ‘Asset’ and ‘FixedAssetStatusResourceType’

    It works by identify and setting the Asset variable and hardcoding the GUID for the ID property of the FixedAssetStatusResourceType’.

    I can find the asset by querying with the computer GUID but I cannot find a way to identify what types of FixedAssetStatusResourceType there are!

    I find it a bad way of programming to hardcode the GUID of the status I want the Asset to have.

    Anyone that knows of a way to query available Asset statuses?