Cmdlets for Salesforce

Build 25.0.9434

GetBatchResults

Fetches the results of a completed Salesforce batch job.

Input

Name Type Description
JobId String The Salesforce Job ID that the batch belongs to. Required to identify the batch context for retrieving results.
BatchId String The ID of the specific batch for which the processing results are being retrieved.

Result Set Columns

Name Type Description
ID String Unique identifier of the individual result record within the batch.
Created String Indicates whether the record was newly created as part of the batch operation (true or false).
Success String Indicates whether the record was processed successfully (true) or encountered an error (false).
Errors_Fields String List of field names that caused the record to fail, if applicable.
Errors_Message String Descriptive error message explaining why the record failed to process.
Errors_StatusCode String Salesforce error code associated with the failure. Useful for programmatic error handling and debugging.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434