@PlanetJupiter Be sure to have a try/catch as if you may ever have more than one customer with the same name. If you save a Customer with the name McDonalds, the external ID will be McDonalds, if you have a second Customer with the name McDonalds, the record.submitField in afterSubmit will fail with an error of "can't have duplicate external ids" and no external Id will be set