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
Prabitha SPrabitha S 

difference between workflowrule and trigger

ShashankShashank (Salesforce Developers) 
http://forceschool.blogspot.sg/2011/05/hi-all-triggers-are-very-essential-in.html
http://www.infallibletechie.com/2013/04/difference-between-triggers-and.html
Sumitkumar_ShingaviSumitkumar_Shingavi
Kindly find differences below:

Triggers:
1. Trigger can work across objects.
2. Trigger works before and after some actions + On different DML actions like Insert, Update, Delete, Undelete
3. Coding is required.
4. Often needed for roll-up type scenarios where roll up summary fields cannot be used and also when a record needs to be created on a different object

Workflow rules:
1. Workflow Rules will be helpful to update the same object or master object in custom master-detail relationships.
2. Coding is not required and they currently can only result in a task, email, field update, or outbound message
3. Workflows work only after some actions i.e. entry criteria's
4. they can only cross objects in a master detail relationship, from the detail to the master, and only for certain scenarios (all custom to custom objects, some custom to standard objects, and even fewer standard to standard) https://help.salesforce.com/HTViewHelpDoc?id=workflow_cross_object_field_updates.htm&language=en_US
5. you cannot create records from WF

PS: if this answers your question then hit Like and mark it as solution!
Vijay NagarathinamVijay Nagarathinam
The main difference between trigger and workflow is 

Trigger can be worked across all objects, Then coding is required for  trigger works before or after some actions.

Workflow will be helpful to update the same object or master details relationship , then coding is not needed to perform some actions. Workflow is also work only after some actions.

If this answer for ur questions please choose the best answer.