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
bhanu_prakashbhanu_prakash 

convert trigger into Lightning flow builder

Hi Team,
 
trigger campupdate on Campaign (before insert,before update) {
  for(Campaign ca: Trigger.new){
      if(ca.Type=='Conference'){
      ca.EndDate = ca.StartDate+30;
      }
      else
          ca.EndDate =ca.StartDate;   
  }
}
how can i convert these trigger into LIghtning flow builder. I know that i can acheive these functionality using workflow or process builder. In further we are calling custom meta data type into logic . So i need to implement these functionality using flow builder