Populating user assigned assets to user request in the Service Catalog

RacheleTashjian
Tera Contributor

I'm attempting to create an item in the catalog that will give users USB drive access on their laptops.  I can get the user's assigned assets to populate in a list collector, but it's not giving me the CI name, it's only giving me the model of the laptop.  The end result is once the usb drive access is approved, that laptop will then get added to an AD group to allow access to the USB drive.

 

I've got two variables, employee requesting exception (reference to sys_user) and computer name (alm_hardware).  I can't get the computer name list collector to return the CI name instead of the model name so I can automate adding it to the AD group.

 

Any ideas?

1 ACCEPTED SOLUTION

Hi @RacheleTashjian,

 

Thanks for clarifying. We can absolutely achieve what you need here.

However the key question is (based on the high level question and requirement) when the access is approved and the "laptop" needs to be  added to an AD group to allow access to the USB drive - we are referring to the CI laptop record (Name and unique ID - right. Not the Asset laptop record)

 

If your form is generally displaying all the information as you/the user requires yet you want to pass the correct information via the workflow behind the scenes, simply add a step in your workflow to lookup the CI sys_id and name based off of the current Asset sys_id.

 

You'll notice I refer to the CI sys_id and name again as it is pretty common to see numerous CI's with the same name - especially for laptops (If you think about it, if your organization uses Dell laptops or Apple laptops for example, their name such as Macbook Pro 15 would be the same for every user that has one, which is why the sys_id and unique identifier such as serial number or even the Asset Tag is important here.

 

I would confirm what is the unique identifier that the team who grant the access via AD/automation is and use that - you may find that it is the Asset tag and you may not need the CI name.

 

If you confirm that unique identifier, I'll provide a sample script for you.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie

View solution in original post

5 REPLIES 5

The laptop (CI name) is the unique identifier here or could be the sys_id of the device but can't hard code that into the flow.  I'm in the process of putting together the workflow and could use some assistance in implementing your fix.