Network Switch Pattern throwing JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Normalize MAC on nexus results' at line 3 due to incorrect eval code.DescriptionNetwork Switch Pattern throwing JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Normalize MAC on nexus results' at line 3 due to incorrect eval code while in debug mode. Error as seen in debug mode: Test failed: Failed to set attribute while testing the step due to the following error: JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Normalize MAC on nexus results' at line 3 1: var rtrn = ''; 2: var currentMAC = dot1dTpFdbTable___dot1dTpFdbAddress; ==> 3: rtrn = currentMAC.replace(/\./g,'');Steps to Reproduce > Run discovery on Network Switch pattern and error is reproduced in debug modeWorkaroundThe step 35.19. Normalize MAC on nexus results wrong eval and does not match the operation type of "Set Parameter value". It should be "Transform table". Attached XML has the updated pattern with new step added where the operation is set to "Transform table". Import the XML and Synchronise it with MID Servers.Related Problem: PRB1383328