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.

Flow designer update multiple record not work working network adaptor table.

Ajay16
Tera Contributor

Hello,

I am using "Update Multiple Records" action in flow designer to update multiple records network adaptor table. I actually want to make Configuration Item empty through it.

I have added below step in flow designer.

find_real_file.png

I am making Configuration Item and Mac manufacturer empty through script(as keeping it empty also not working).

When I look at one of the updated record, It shows that 3 marked fields have updated. However, it should have updated CI to empty but it is not doing it.

find_real_file.png

What could be the issue?

Note : I am able to make it empty on form or through script.

Any help would be appreciated.

1 ACCEPTED SOLUTION

Muralidharan BS
Mega Sage

Hi Ajay,

If you run the below update multiple in the background script it still won't work. 

var grCmdbCiNetworkAdapter = new GlideRecord('cmdb_ci_network_adapter');
grCmdbCiNetworkAdapter.addEncodedQuery("cmdb_ci=a9a2d111c611227601fb37542399caa8");
grCmdbCiNetworkAdapter.cmdb_ci = '';
grCmdbCiNetworkAdapter.updateMultiple();

This has to be updated via lookup records, for loop and update each record (like below).

find_real_file.png

 

This should work.

Thanks

 

 

View solution in original post

5 REPLIES 5

You've Welcome Ajay!