Trigger vs Using Flow: Update the 'Description' field on Account Record when the 'Industry' field is 'Education' #inSalesforce
Trigger vs Using Flow: Update the 'Description' field on Account Record when the 'Industry' field is 'Education' #inSalesforce
Using Apex Trigger:
trigger AccountTrigger on Account(before Insert, before update){
for(Account acct : Trigger.new) {
if(acct.Industry == 'Education'){
acct.Description = 'High Priority';
}
}
}
Lightning Flow:
Please check the attached visual/video
Comments
Post a Comment