Description
The HistoryRecordsCleaner component allows you to delete all records between two timestamps in the numeric histories selected by the given query
Implementation
- Drag and drop the component anywhere in a station
- Set the Start Time, End Time and Query. Optional, set Min Value and Max Value
- Configure the Execution Time to set when the component will execute
Properties
- Status: The status of the action, {ok} if the action was successful, {fault} if an error occurred.
- State: The state of the component, i.e: whether it's running or idle
- Enabled: Whether the component is enabled
- Execution Time: Configures when the component will run
- Last attempt: Date of the last attempt
- Last success: Date of the last success
- Last failure: Date of the last failure
- Fault cause: If there's an error, shows the error
- Start Time: the timestamp of the earliest record to delete
- End Time: the timestamp of the latest record to delete
- Min Value: any value greater than or equal to this value will not be deleted
- Max Value: any value less than or equal to this value will not be deleted
- Query: Query used to select histories whose records are to be cleaned