sfmc // SSJS / WSProxyPROJECT

WSProxy DataExtensionObject UpdateAdd Batch

Batch upsert Data Extension rows through the SOAP object model.

ssjswsproxyupdatebatchdata extension
Context Pack →Open Workspace →
Trust & provenancePROJECT
Evidence tierPROJECTOfficial sources0Other sources0Last verifiedNot recorded

Evidence tier describes my hands-on relationship with the content. Official sources describe platform contracts/documentation. Production observations should not automatically be treated as official limits.

<script runat="server">
Platform.Load('Core','1.1.1');
var prox = new Script.Util.WSProxy();
var rows = [{
  CustomerKey: 'TARGET_DE_KEY',
  Properties: [
    {Name:'LogID',Value:Platform.Function.GUID()},
    {Name:'Status',Value:'Processed'}
  ]
}];
var options = { SaveOptions: [{ PropertyName:'*', SaveAction:'UpdateAdd' }] };
var result = prox.updateBatch('DataExtensionObject', rows, options);
</script>
Operational notes

Validate result status and log partial failures instead of assuming the whole batch succeeded.