Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

inactive users and assets assigned to them

Hollister45
Giga Contributor

I have found a couple of inactive users with assets still assigned to them. I believe there are hundreds more. I cannot find a way to filter for inactive users and assigned assets. I need to unassign these assets to these inactive users. We have over 9000 user accounts I have to go through. I am hoping I can make this easy on me. 

 

 

3 REPLIES 3

Najmuddin Mohd
Mega Sage

Hi @Hollister45 ,

One way would to Navigate to alm_asset.LIST and using Dot - walking, you can filter the Inactive Assigned to Users.

Filter Assigned to --> User Fields, 

NajmuddinMohd_0-1732007386357.png
then,

Active is False.

NajmuddinMohd_1-1732007467504.png


If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.

 

I do not see the choices your example show's. this is what I see under "https://nysoag.service-now.com/alm_hardware_list.do?" I cannot find "alm_asset.LIST and using Dot - walking,"

 

Hollister45_0-1732025200285.png

 

 

HI @Hollister45 ,
Do not check in the second one. After using Assigned to --> User fields, in that one itself check Active is False.

NajmuddinMohd_0-1732111061732.png

 


Regards,
Najmuddin.