You need to sign in to do that
Don't have an account?
Cherry@appshark
Diff between Trigger and Workflow
Please differ Trigger and Workflow in salesforce..
What is the need for triggers when workflow exists?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Please differ Trigger and Workflow in salesforce..
What is the need for triggers when workflow exists?
Trigger can work across objects and where in you can query the object as well as you can do DMLs
But workflows will only helpful to update the same object or master object in custom master-detail relationships.
There are several scenarios in which you can't achieve your functionality with workflows......
All Answers
Trigger can work across objects and where in you can query the object as well as you can do DMLs
But workflows will only helpful to update the same object or master object in custom master-detail relationships.
There are several scenarios in which you can't achieve your functionality with workflows......
One of the best practice principles, we should try to follow when developing within Salesforce.com, and the Force.com platform, is to leverage native builder functionality first. If requirement can not be achieved through configuration only then we should try using Apex or Visualforce. One area where I am finding, more and more, that I no longer need to write code, and in particular Triggers, is for field updates.
Both are the trigger but the difference are
(1) Workflow : inbuilt functionality, used on single obj /master-detail
(2) Trigger : Used for complex business process in which multiple Obj can handle.
Before jump into coding check first is it possible to solve an issue using wfr.
Regards,
Dhairya