Unassign Assets from List Collector

BrianS344076034
Tera Guru

Not using HAM, but using the basic CMDB details

On an offboarding form, we have a list collector that shows all the assets assigned to a user.
On closure of the task, we want to unassign those assets in the list.

 

Here is what I have it doing, but its not finding records.

In the Flow

Try - 

For Each Assigned computer

Look up Records where sys_ID = Assigned_computer>Sys_ID

Update Record - Assigned to - clear.

 

When it runs, its not finding the assets, even though we have them selected, any idea where I went wrong?

 

BrianSorensen_0-1770069441950.png

 

Hoping to sort this out, as we have a project coming where we want to do a list collector and assign the devices in bulk

2 REPLIES 2

BrianS344076034
Tera Guru

Update
I think I need to use the look up records

Here is what I have, but its still not finding anything

 

I have a list collector called Assets

This is looking at the cmdb_ci_computers table

On the flow I want to assign or unassign the selected asset based on the option selected.

The flow has this

1. Get Catalog Variables

2. Look up Records - Table - cmdb_ci_computer where sys_id is one of assets>sys_id

 

When it does this, it should find 2 based on the selection, but I am getting zero results

 

BrianSorensen_0-1770082811781.pngBrianSorensen_1-1770082827422.pngBrianSorensen_2-1770082884466.png

 

Any help is appreciated

BrianS344076034
Tera Guru

Got it
went to far on the data pill
For anyone else that followed along
Look up records were sys_id is one of variablename