Trigger – Custom Code
- With trigger we can update same record that triggered
- Can update related records
- Can send email using Apex
- Trigger can be used to call webserive
Workflow – Configuration – no code approach
- Workflow cannot create record of same or related objects
- Workflow can do only create a task, send email, field update, or send outbound message
- Can work with only cross objects in a master detail relationship, from child to parent
- cannot perform DML operations in workflow
- Workflow cannot query from records