Workflow and ServiceDesk Community

 View Only
  • 1.  How to Assign a Location in Workflow for any Asset Type?

    Posted Sep 26, 2014 07:48 AM

    Hi,

    I'm trying to create a Dialog Workflow that will take input from a form and create an asset in the CMDB.

    Asset Workflow.PNG

    This workflow works as expected when I set the Resource Type to Asset in the component Create Resource for SMP as I can select my newly created resource as shown below

    Asset Workflow2.PNG

    However, when I try to set the Resource Type to Monitor in the component Create Resource for SMP I am then unable to use the created resource in the Set Location for Asset Component

    Would anyone be able to suggest a method for setting the location of a "asset" regardless of it's type? If you are able to provide an example then even better ;)

    Thanks,

     

    Elliot



  • 2.  RE: How to Assign a Location in Workflow for any Asset Type?
    Best Answer

    Posted Sep 26, 2014 11:15 AM

    can you use a "get resource for SMP" after creating it, and then just get it as an "asset" type so that it's structured properly?  i don't think it matters how you create it in this case.  just make sure you use a "get" component so that it's in the proper format for the "set location" component.

    -andrew



  • 3.  RE: How to Assign a Location in Workflow for any Asset Type?

    Posted Sep 29, 2014 03:45 AM

    Using the Get Resource for SMP works perfectly. I can create the resource as a "monitor" type using Set Resource for SMP and then pull it back in as an "asset" type so the "Set Location for Asset Component" recognises it.

    Thanks for your help!