+ 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