---
schema_version: "1"
id: 47f6966ca63e7e923223e02c2934f54e87113038ff68298ebd35a8787f5a8207
title: cgcloud__Batch_Run_Status__c
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_objects_cgcloud__batch_run_status__c.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_objects_cgcloud__batch_run_status__c.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d1ab273f6a92bd0e158a3d3da6426069fee6fa8f5d83510d38215f1701d92b42
description: Keeps track of batch processes. This object is available in API version 54.0 and later.
---
# cgcloud\_\_Batch\_Run\_Status\_\_c

Keeps track of batch processes. This object is available in API version 54.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: Most recent date on which a user referenced this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: Most recent date on which a user viewed this record.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: Unique identification of the record.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the record owner.
    
    This is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Relationship Type**: Lookup
- **Refers To**: Group, User

### cgcloud\_\_Batch\_Chain\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Identifies processes that are running in one process chain.

### cgcloud\_\_Batch\_ID\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Identifier of the batch process instance.

### cgcloud\_\_Batch\_Name\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Name of the batch process.

### cgcloud\_\_Batch\_State\_\_c

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: State of the batch process.
- **Possible values**:
    - Done
    - Error
    - Fatal
    - Running

### cgcloud\_\_Batch\_Type\_\_c

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Type of the batch process.
- **Possible values**:
    - APEX
    - Managed
    - Web
    - Worker

### cgcloud\_\_Duration\_Time\_\_c

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Run time of the batch process in milliseconds.

### cgcloud\_\_End\_Date\_\_c

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: End date and time of the batch process.

### cgcloud\_\_Items\_Done\_\_c

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Number of job items that were successfully processed.

### cgcloud\_\_Items\_Error\_\_c

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Number of job items that were processed with an error.

### cgcloud\_\_Items\_Scheduled\_\_c

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Number of job items that were scheduled for a job.

### cgcloud\_\_Job\_Name\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Job Name under which the process is scheduled.

### cgcloud\_\_Last\_Update\_Date\_\_c

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Last update date and time of the batch process.

### cgcloud\_\_Process\_Count\_\_c

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Count of process instances that were involved in the job processing.

### cgcloud\_\_Progress\_Current\_Value\_\_c

- **Type**: textarea
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Last progress update of the batch process.

### cgcloud\_\_Sales\_Org\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: SalesOrg context on which the batch process is running.

### cgcloud\_\_Start\_Date\_\_c

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Start date and time of the batch process.

### cgcloud\_\_Transaction\_ID\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Log transaction ID that's assigned to the batch process.

## Associated Objects

### Associated Objects

This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.

- **[cgcloud\_\_Batch\_Run\_Status\_\_cChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")**: Change events are available for the object.
- **[cgcloud\_\_Batch\_Run\_Status\_\_cFeed](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")**: Feed tracking is available for the object.
- **[cgcloud\_\_Batch\_Run\_Status\_\_cHistory](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")**: History is available for the tracked fields of the object.
- **[cgcloud\_\_Batch\_Run\_Status\_\_cOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")**: Sharing rules are available for the object.
- **[cgcloud\_\_Batch\_Run\_Status\_\_cShare](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")**: Sharing is available for the object.