Skip to main content
1.Triggers VS workflows, what is the complexity involved between triggers and workflows related to trigger's order of execution?

2.can we call a batch apex through trigger?
1 件の回答
  1. 2015年6月8日 15:44
    Here is the quick snikpick:

    Workflow:

    - You cannot create records

    - You can create a task, send an email, do a field update, send an outbound message

    - We can perform operation on one object only

        

    Trigger:

    - Any complex logic executions required on all DML actions

    - You can create all kinds of records and perform operations on different objects

    ⌗2: Yes, you can call batch apex. Also if method which calls batch need to be with @future annotation.

    Hope this helps! If yes, then mark it as solution.

    Thanks,

    Sumit
0/9000