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.

Copy location from asset to Computer

Abishek1998
Tera Contributor

Hi all,

 

So my use case is,

1. I am creating a hardware entry with serial number.

2. With the same serial number as hardware, I am creating a CI in computer table.

3. So when I am creating the CI, the location should field in computer table should be populated as the location field in hardware table.

 

I have tried in flow designer but need your help. I am pasting the flow below.

 

1.Trigger

Abishek1998_0-1733128341761.png

 

2. Look up record

Abishek1998_1-1733128341788.png

 

3. If condition

Abishek1998_2-1733128341795.png

 

4.Then 

Abishek1998_3-1733128341772.png

 

 When I am creating the CI itself, the location present in the hardware should be populated.

 

Please do help. Thanks

1 REPLY 1

Runjay Patel
Giga Sage

Hi @Abishek1998 ,

 

No need to write flow you can achieve it using configuration.

 

Navigate to Asset CI Field Mapping (alm_sset_ci_filed_mapping) and create new entry for location.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------