Untitled
unknown
apex
4 years ago
190 B
6
Indexable
trigger UpdateMyCustomField on User (after insert, after update) { User u = Trigger.new[0]; u.MyCustomField__c = /*some calculations here*/ update u; /*something else here*/ }
Editor is loading...
trigger UpdateMyCustomField on User (after insert, after update) { User u = Trigger.new[0]; u.MyCustomField__c = /*some calculations here*/ update u; /*something else here*/ }