Question: what is the difference between process builder and trigger?
Answer: Process Builders cannot handle before DML It executes after a record has been created or updated. Whereas Apex triggers can handle both before and after DML operations. Process Builder cannot handle delete and undelete DML. Whereas Apex triggers can handle all DML operations.