Broadleaf Microservices
  • v1.0.0-latest-prod

Bulk Operations and Bulk Operation Items

Tip
Introduced in Catalog Service 2.1.0.

Data Model

Bulk Operation Data Model
Figure 1. Bulk Operation and Bulk Operation Item Data Model

Bulk Operation

A Bulk Operation is a container to associate an entity CRUD operation to a list of entities within a given context.

BLC_BULK_OPERATION

Field Description

ID

Unique row ID

NAME

A friendly identifier for the operation.

ENTITY_TYPE

The type of entity that is associated with the bulk operation. Used in combination with operation type to determine how to handle the operation.

OPERATION_TYPE

The type of operation being performed during the bulk operation. Used in combination with entity type to determine how to handle the operation.

OPERATION_CONTEXT

The context provided with the bulk operation.

OPERATION_DATA

Additional data to be passed for performing this bulk operation. Data used during operation processing to apply updates in bulk.

OPERATION_STATUS

The current status of the bulk operation.

OPERATION_SUB_STATUS

The current sub-status of the bulk operation.

OP_STATUS_HISTORY

A detailed historical list of statuses for this bulk operation. Contains the status & sub-status at the time of each update.

TOTAL_RECORDS

The total records to be processed by this bulk operation.

SUCCESS_COUNT

The number of records that were successfully processed.

ERROR_COUNT

The number of records that had errors during processing.

CREATE_DATE

The timestamp when this bulk operation was created.

UPDATE_DATE

The timestamp when this bulk operation was last updated.

CREATING_USER

The identity of the creator of this bulk operation. Uses the authenticated author stored on the context info.

SANDBOX_ID

The id of the sandbox this bulk operation is executed within.

CATALOG_ID

The id of the catalog this bulk operation is scoped within, if any.

APPLICATION_ID

The id of the application this bulk operation was initiated from, if any. Note that if this id is not supplied then that implies a tenant-level operation and a catalog ID is required.

TENANT_ID

The id of the tenant this bulk operation was initiated from.

ATTRIBUTES

Miscellaneous attributes for this bulk operation.

Bulk Operation Item

A Bulk Operation Item is a reference to a single entity and its state within the context of a bulk operation.

BLC_BULK_OPERATION_ITEM

Field Description

ID

Unique row ID

OPERATION_ID

The identifier for the owning bulk operation.

ENTITY_ID

The context ID of the entity for this item.

STATE

The current state of this item.

ERROR_MESSAGE

The error message if this item failed processing.

ERROR_DETAIL

Details on the error(s) encountered during processing.

ATTRIBUTES

Miscellaneous attributes for the processing of this item.