Activity Forums Salesforce® Discussions Some Queries about Batch APEX in Salesforce

  • Hariom Chaudhary

    Member
    August 5, 2019 at 8:09 am

    1-In following ways we can Schedule Batches-

    a. Salesforce User Iinterface > Classes > Schedule Apex.
    b. Custom Solution via some custom visualforce interface.
    c. Called via Apex/DML.

    2- we can fetch 200 records.

    3- To handle large number of data we have to use batch apex
    When you want to run a piece apex code at some particular time within a period of time, we use schedule apex.

  • Achintya

    Member
    August 12, 2019 at 12:05 pm

    1.  From UI(Setup->Develop->Apex Classes->Schedule Apex button)
    Through code(System.schedule())

    2. 200 Records.

    3. Scheduling apex:

    To execute any class at a specific time we use scheduling apex.

    Batch Apex:

    It divides the whole process into batches.

    To handle a large number of data we have to batch apex.

    Also used to overcome the governing limits

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos