1.

What Is The Difference Between Trigger And Workflow?

Answer»

Trigger:

  • Trigger is a piece of code that executes before or after a record is inserted or updated.
  • We can access the trigger across the object and RELATED to that objects.
  • We can use 20 DML operations in one trigger.
  • We can use 20 SOQL from data base in one trigger.

Workflow:

  • Workflow is automated process that fired an action based on EVALUATION criteria and rule criteria.
  • We can access a workflow across the object.
  • We cannot perform DML OPERATION on workflow.
  • We cannot query from DATABASE.

Trigger:

Workflow:



Discussion

No Comment Found