function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Carrlos BoydCarrlos Boyd 

Clear a field after Save using a trigger

I have a picklist on a parent record (Type__c) that I would like cleared each time a different picklist field (Function__c) is changed and saved. Currently, I update a child record every time the parent record Function__c is changed. This would allow me to use the value of the Type__c field from the parent object when I update the child record, which also has a Type__c field.
Raj VakatiRaj Vakati
I belive this can be done with process builder .. do you still wanted to do in trigger ?
Carrlos BoydCarrlos Boyd
I didn't think it can be done with Process Builder but let me give it a shot first. If I'm not successful I will post again. Thanks!