Difference between salesforce workflow rules and Triggers

Difference between salesforce workflow rules and Triggers,Salesforce Apex Trigger Best Practices,Trigger context variables in salesforce, Apex Triggers in salesforce,sfdcpanda, sfdc panda, salesforce basics, basics of salesforce, apex triggers, salesforce examples, apex example, visualforce examples, apex visualforce, salesforce training, online training salesforce, salesforce job market

Difference between salesforce workflow rules and Triggers

Triggers Work flow rules
Triggers would able to work across salesforce objects. Workflow Rules will be helpful in updating the same object or the master object in master-detail relationship.
You need to do coding in trigger. Workflow rule is a declarative one and doesn’t require coding.
Triggers having event handlers which can run before saving into database and after saving into database. Workflow rules work only after some actions i.e. entry criteria’s.

 

Limitations of workflows:

  • Workflow rule can’t create or update a separate object.
  • It is not allowed to reference certain fields like Owner.name

 

 

 

 

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*