Value Change
![]()
Description
The Value Change processor detects specific transitions in numerical values. It:
- Monitors a selected numerical field
- Detects when the value changes from one specified value to another
- Adds a boolean flag indicating the detected change
- Preserves all original event data
- Works with any numerical field type
Required Input
The processor requires an input event stream containing at least one numerical field to monitor for specific value transitions.
Configuration
Property to Monitor
Select the numerical field from the input event that should be monitored for value changes.
From Value
Specify the initial value that should trigger the change detection. The processor will look for transitions from this value.
To Value
Specify the target value that should complete the change detection. The processor will look for transitions to this value.
Output
The processor forwards the input event with an additional boolean field named isChanged that indicates whether the specified value transition was detected.
Example
Input Event
{
"temperature": 25.5,
"timestamp": 1586380105115
}
{
"temperature": 26.0,
"timestamp": 1586380105116,
}
Configuration
- Property to Monitor:
temperature - From Value:
25.5 - To Value:
26.0
Output Event
{
"temperature": 26.0,
"timestamp": 1586380105116,
"isChanged": true
}
Use Cases
-
State Transition Detection
- Monitoring system states
- Detecting mode changes
- Tracking status transitions
- Identifying phase changes
-
Threshold Monitoring
- Detecting crossing of specific thresholds
- Monitoring value ranges
- Tracking boundary conditions
- Identifying critical transitions
-
Process Control
- Monitoring control system states
- Detecting process transitions
- Tracking operational modes
- Identifying state changes
Notes
- The processor only detects exact matches for the specified values
- The change detection is sequential (must go from "From Value" to "To Value")
- The original event structure is preserved
- The boolean flag is added to every event
- The processor maintains state between events
- Values are compared using exact equality