Batch Tracker Backfill
The Batch Tracker Backfill object (also referred to as the Backfill Controller) is created below the Batch Tracker and used to configure a selective and on-demand reprocessing of historical data over a defined time period. Any missing data for that time period is backfilled by the Batch Tracker and added to the BPR (Batch Production Record). This Backfill Mode is turned on by changing the Mode from "Configuration" to "Running".
The configuration of the time period is done via Starttime and Endtime properties and this time period can be updated at any point. A BatchID Filter can also be entered which will only retrieve records for a matching BatchID string. Multiple Batch Tracker Backfill objects can be configured below one Batch Tracker.
The Backfill process can be followed.
The Batch Tracker Backfill object and Backfill Mode requires that all Tags configured in the parent Batch Tracker be set to historize data in a configured data store Archive Selector .
|
Use Cases
-
Backfill missing data from running Batch Trackers objects
-
Selectively backfill data for particular BatchIDs in advance or on the fly
-
Automate the backfill process by updating backfill time period and triggering the mode
Quick Configuration
-
Select the parent BatchTracker object and right-click. Select from the context menu.
-
In the Create Object wizard, enter an Object name and an optional Object Description.
-
Open the Starttime time/date picker and select a start for the time period you wish to cover. Do the same with Endtime to select the end of the desired time period.
-
If you wish to only backfill data for a particular BatchID, enter the BatchID as a string in the BatchID Filter property field (optional).
-
Click Create to create the object in the I/O Model.
-
To begin backfilling data, select the object in the I/O Model and change the Mode property in the Object Properties panel from "Configuration" to "Running" and click Apply.
-
The progress of the backfill operation can be followed in the Diagnostics compound which details information on the state of the process, including information from the Batch Tracker. The Tracking Documents compound allows the actual backfilled BPR documents to be viewed in JSON format (the last completed and the currently processed BPRs).
-
Once the backfill for the specified time period is completed then the Mode will change back to "Configuration". The backfill operation can be re-run at any time to fill in any extra missing information.
Object Properties
The user-modifiable object name. This name overrides the name which has been supplied by the external system. It must be unique within the collection of objects of the parent object. This is the user-modifiable object description. This text overrides the description which has been supplied by the external system. Start time for the backfill operation. End time for the backfill operation. If this field is set, only BPRs where the BatchID matches this filter will be (re-)calculated. Mode of operation. Set to running in order to start the backfill operation. Configuration: Use this setting to configure start time and end time. Running: This setting will start the operation. Progress indicator for the backfill operation. File attachments stored in MongoDB file store.Common
Mode
The persisting JSON documents for the active and recently completed batch. JSON document for the most recent completed batch. The time when the recent batch was completed. JSON document for the current batch. The time when the current batch recently was updated. timestamp of the last run.Tracking Documents
Runtime Diagnostics. Shows the current processing state of the object. Indicates the heartbeat of the object. Shows the runtime of the most recent process. Load percentage in respect to the processing time hint, which was received by the object recently. Current Equipment State. Current Batch ID. Current Active State. Current Script Result. Displays the current S88 operation as detected by the batch tracker object. Displays the current S88 equipment phase as detected by the batch tracker object. Displays the current S88 equipment step as detected by the batch tracker object. The most recent error, which was raised by this object. Timestamp of the most recent error raised by this object.Diagnostics
Compound to hold various structures to customize the object and to be read and written to by Lua-Script code or external interfaces. A generic string buffer to be used programmatically for custom purposes. This is an extensible set of named strings which can be used programmatically for custom purposes. A custom property name which can be used programmatically. The value of the custom property which can be read and written programmatically. This is an extensible set of named tables which can be used programmatically for custom purposes. A custom table name which can be used programmatically. Handles an entire table organized in columns and rows. The data can easily (cut, copy and paste) be exchanged with table-oriented data of other software products, e.g. MS Excel.Custom Options
Custom Properties
Custom Tables