Update a field value when another field is edited

this also needs you to create an action on the model - when model is updated, then run the snippet.

Also, as it is a reference field, this line:

params.row.defaultSequence__c;

might need to be more like:

params.row.Process__r.defaultSequence__c;