1.

What are the differences between trigger and workflow in Salesforce?

Answer»
WorkflowTrigger
Workflow is an automated process that fires an action depending on evaluation criteria and rule criteriaA trigger is a piece of program code that will be EXECUTED before or after a record has been inserted or updated
We cannot carry out DML operations on workflow We can use 20 DML operations in a single trigger
We are ABLE to OBTAIN a workflow across the objectWe are able to access the trigger across the object and associated with that objects
We cannot query from database in workflowWe can use 20 SOQL(Salesforce Object Query LANGUAGE) from the database in a single trigger


Discussion

No Comment Found