в моем процессе преобразования мне нужно обнулить 2 поля, и я пытаюсь сделать это в облаке данных mulesoft 4, но он учитывает только второй элемент, а не оба.
%dw 2.0
output application/java
import * from dw::core::Strings
---
{
customFieldList: {
customField: [
{ScriptId: "custentity_wip_commission_payment",
value: { internalId: payload.commisionpayment as String default ""} as Object {class: "org.mule.module.netsuite.extension.api.ListOrRecordRef"}
} as Object {class: "org.mule.module.netsuite.extension.api.SelectCustomFieldRef"},
{ScriptId: "custentity_wip_accounting_status",
value: { internalId: payload.accountingstatus as String default ""} as Object {class: "org.mule.module.netsuite.extension.api.ListOrRecordRef"}
} as Object {class: "org.mule.module.netsuite.extension.api.SelectCustomFieldRef"},
{ScriptId: "custentity_wip_retain",
value: { internalId: payload.retain as String default ""} as Object {class: "org.mule.module.netsuite.extension.api.ListOrRecordRef"}
} as Object {class: "org.mule.module.netsuite.extension.api.SelectCustomFieldRef"},
{ScriptId: "custentity_wip_schedule",
value: { internalId: payload.wipschedule as String default ""} as Object {class: "org.mule.module.netsuite.extension.api.ListOrRecordRef"}
} as Object {class: "org.mule.module.netsuite.extension.api.SelectCustomFieldRef"},
{scriptId: "custentity_wip_salesrep",
value: payload.salesrep as String default ""} as Object {class: "org.mule.module.netsuite.extension.api.StringCustomFieldRef"},
{ScriptId: "custentity_wip_agentcountry",
value: { internalId: payload.agentcountry as String default ""} as Object {class: "org.mule.module.netsuite.extension.api.ListOrRecordRef"}
} as Object {class: "org.mule.module.netsuite.extension.api.SelectCustomFieldRef"}
]
} as Object {class: "org.mule.module.netsuite.extension.api.CustomFieldList"},
nullFieldList: {"name": "custentity_wip_accounting_status",
"name": "custentity_wip_commission_payment"
},