diff --git a/lib/datapacksjob.js b/lib/datapacksjob.js index 8663c0f1..91ec1f67 100644 --- a/lib/datapacksjob.js +++ b/lib/datapacksjob.js @@ -2202,7 +2202,13 @@ DataPacksJob.prototype.deployPack = async function(inputMap) { var objectKey = self.vlocity.datapacksutils.getBulkJobObjectKey(dataPack.VlocityDataPackType); var dataPackKey = JSON.stringify(dataPack.VlocityDataPackKey); - if (dataPack.VlocityDataPackRelationshipType != 'Pagination') { + if (dataPack.VlocityDataPackRelationshipType == 'Pagination') { + let paginationParentKey = dataPack.VlocityDataPackKey.substring(0, dataPack.VlocityDataPackKey.indexOf('|')); + + if (dataPack.VlocityDataPackStatus == 'Error') { + jobInfo.currentStatus[paginationParentKey] = dataPack.VlocityDataPackStatus; + } + } else { jobInfo.currentStatus[dataPack.VlocityDataPackKey] = dataPack.VlocityDataPackStatus; }