Provisioning script does not apply fully

I would like to ask your help about my provsioning script. One line of the script is only aplied on the second boot of the device. I used the debug cwmp functionality, from that I can see that during the first boot this value does not appear in the setparameter values. I can’t figured it out that is it missing something, or there is an error. There is no error visible in the cwmp log.This would be the script:

I highlighted the line with bold characters which is not being set.

const now = Date.now();
let VLAN_ID=4088;

//L2 config
declare(“InternetGatewayDevice.X_BROADCOM_COM_SyslogCfg.Status”, {value:now}, {value:“Enabled”});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_BROADCOM_COM_WANGPONLinkConfig.Enable”,{value: now}, {value: “true”});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_BROADCOM_COM_WANGPONLinkConfig.ConnectionMode”,{value: now}, {value: “VlanMuxMode”});
declare(“InternetGatewayDevice.ManagementServer.X_BROADCOM_COM_BoundIfName”, {value: now}, {value: “bronu6.6”});

//Disable Wifi
declare(“InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable”, {value: now}, {value: false});

//Routing
declare(“InternetGatewayDevice.Layer3Forwarding.X_BROADCOM_COM_ActiveDefaultGateway”,{value: now}, {value: “bronu6.6”});
declare(“InternetGatewayDevice.Layer3Forwarding.X_BROADCOM_COM_DefaultConnectionServices”,{value: now}, {value: “bronu6.6”});
//DNS
declare(“InternetGatewayDevice.X_BROADCOM_COM_NetworkConfig.DNSIfName”,{value: now}, {value: “bronu6.6”});

//Bridge Vlan 4088 (CPE GPON) + LAN4

declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.", null, {path: 1});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.
”, {path: now}); //Refresh node
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Name”, {value: now}, {value: “br_veip0.”+VLAN_ID});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ConnectionType”, {value: now}, {value: “IP_Bridged”});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_BROADCOM_COM_IfName”, {value: now}, {value: “veip0.1”});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_BROADCOM_COM_VlanMuxID”, {value: now}, {value: VLAN_ID});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_BROADCOM_COM_VlanMux8021p”, {value: now}, {value: 0});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Enable”, {value: now}, {value: true});

//Add Bridge 4088
declare("InternetGatewayDevice.Layer2Bridging.AvailableInterface.* ", {path: now});
declare("InternetGatewayDevice.Layer2Bridging.Bridge.* ", null, {path: 2});
declare(“InternetGatewayDevice.Layer2Bridging.Bridge.2.*”, {path: now, value: now});
declare(“InternetGatewayDevice.Layer2Bridging.Bridge.2.BridgeName”,{value: now}, {value: “BR_”+VLAN_ID});
declare(“InternetGatewayDevice.Layer2Bridging.Bridge.2.BridgeEnable”,{value: now}, {value: true});
declare(“InternetGatewayDevice.Layer2Bridging.Filter.4.FilterBridgeReference”,{value: now}, {value:1});
declare(“InternetGatewayDevice.Layer2Bridging.Filter.9.FilterBridgeReference”, {path: now, value:now});
declare(“InternetGatewayDevice.Layer2Bridging.Filter.9.FilterBridgeReference”,{value: now}, {value:1});

This is the debug file: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.