As I'm just getting started with SSJS scripting I need help for the below scenario. I have a DE which consist of Contact_ID & Mobile_Number fields. I need to update _MobileAddress table for mobile number change. I have Script which update _MobileAddress table, but I looking to run it in loop so that it will pull all records for DE and updates the _MobileAddress. Please help me with the below script to run loop. Thank you.
<script runat="server">
Platform.Load('Core','1');
var contactId = 111111111;
var mobileAddressDataView = DataExtension.Init('_MobileAddress');
var result = mobileAddressDataView.Rows.Update({_MobileNumber: '13333333333'}, ['_ContactID'], [contactId]);
</script>