Activity Forums Salesforce® Discussions Is there any feature available to receive an email notification if the data load fails for some reason in CLI?

  • Avnish Yadav

    Member
    July 25, 2018 at 1:40 pm

    Hello Chanchal,

    When running data loader from the command line you are running an app that is using the Salesforce API to write data to Salesforce.

    If you want email notification on failures, the way to do that would then be through the app, or by way of the process that invokes the app (the batch or shell script that invokes the cli).

    At a high level you would want your script to do the following:

    1. Invoke the data loader CLI
    2. Once the result is returned, read the error file
    3. If there are errors, send an email

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos