Tracking the life cycle of delivery tasks

Using the NDS database logging feature, BBM Enterprise Alerts tracks task life cycle in the ngdeliverylog database and in the TaskLifeCycle and TaskLifeCycleHistory tables. This feature provides valuable troubleshooting and reporting information.

BBM Enterprise Alerts tracks the following life cycle task states:

Code

Description

Notes

400

Task initiated

—

410

Request Out

—

430

Sent

—

435

Failed before sending

Error code/message

439

Failed to send

Error code/message

970

User responded

Response code from response service

To configure life cycle tracking, update the BBM Enterprise Alerts plug-in.

Under the <queueControlInfo> section, a new set of configuration keys are introduced to control the life cycle logging feature (default values are shown):

<!--turn on/off task life cycle logging-->
<logTaskLifeCycle>true</logTaskLifeCycle>
<!--interval in second to purge log records in memory to batch and save to database, Default: 1-->
<logPurgeInterval>1</logPurgeInterval>
<!--batch size in number of records to purge each time and save to database.  Default: 2000, Max: 2000 -->
<logPurgeBatchSize>2000</logPurgeBatchSize>