Computer scientists have introduced an execution architecture that bridges declarative business process modeling and continuous physical sensor streams by compiling hybrid temporal logic constraints directly into complex event processing engines. In modern cyber-physical installations such as automated chemical reactors or Internet of Things healthcare units, processes routinely unfold alongside continuous streams of temperature, pressure, machine vibrations, and patient vital signs. While traditional business process management operates on discrete activity logs, classical frameworks cannot reason about continuous signals or detect physical fluctuations occurring between task boundaries. The newly developed system operationalizes hybrid declarative models, moving beyond historical post-hoc conformance verification to drive live runtime execution, active task gating, and automated intervention based on streaming sensor behavior.
Standard declarative process modeling relies on constraint frameworks such as Declare, which traditionally interpret rules through Linear Temporal Logic over finite traces. Instead of enforcing an inflexible sequence of operations, declarative models define behavioral boundaries that an unfolding execution must not violate, making them suited for highly unpredictable and knowledge-intensive industrial settings. Multi-perspective extensions previously incorporated discrete payloads and time intervals using Metric First-Order Temporal Logic, yet these remained incapable of interpreting real-valued, continuous-time trajectories. To bridge this limitation, researchers recently formulated hybrid declarative models that incorporate Signal Temporal Logic, a formalism from cyber-physical systems designed to evaluate real-valued signal functions. Although Signal Temporal Logic previously allowed analysts to check whether historical sensor traces adhered to hybrid rules, the field lacked any functional mechanism to execute these constraints actively during live operations.
The novel architecture addresses this operational void by introducing a three-layer execution framework implemented on top of the Esper complex event processing engine. Complex event processing maintains continuous queries over dynamic, high-velocity data streams rather than querying static databases, enabling systems to detect temporal trends and relational patterns with low latency. In the proposed framework, declarative specifications are converted into denotational complex event logic and compiled into continuous queries written in Esper’s Event Processing Language. This pipeline allows the engine to evaluate streaming sensor data against formal temporal windows and operational thresholds, establishing a direct connection between abstract hybrid constraints and active execution services.
At the foundation of this runtime hierarchy sits the Atomic Event Detection Layer, which ingests, filters, and standardizes heterogeneous operational data into typed event tokens. The bottom layer handles two primary inputs: discrete events denoting completed business tasks, such as item picking or dispatching, and continuous telemetry samples carrying time-stamped numerical measurements. Instead of storing massive raw signal streams in persistent memory, the atomic layer applies relational filtering predicates directly against incoming sensor metrics in real time. Continuous signals are converted into structural activation and target tokens whenever metric limits are reached, which are then dispatched into an intermediate stream along with their associated constraint identifiers to minimize runtime memory pressure.
Directly above the ingestion layer, the Constraint-Level Pattern Matching Layer acts as a stateless stream processor dedicated to tracking temporal lifecycle milestones. This second layer consumes standardized tokens from the first layer and evaluates them using pattern queries that define the sequential and metric logic of each constraint template. When processing a hybrid response constraint, for instance, the pattern engine monitors whether a valid target token arrives within a defined time window following an activation. When a target matches within the required interval or a deadline expires, the constraint layer announces the structural shift by emitting formal fulfillment or violation events, leaving broader case state management to higher runtime components.
The top tier of the runtime, designated as the Process Status Layer, aggregates milestone tokens from the pattern matching layer into a unified case-level representation. Maintaining stateful listeners that subscribe to fulfillment and violation streams, this layer dynamically calculates task enablement and overall instance finishability. Task enablement dictates which activities human operators are permitted to perform without causing rule violations, while finishability indicates whether cumulative traces satisfy all mandatory constraints. Operating alongside this layer, an enforcement service uses a formal six-tuple structure separating signal streams, metric predicates, duration thresholds, triggered actions, payloads, and reset conditions to actuate physical equipment or generate external alerts whenever conditions persist beyond prescribed durations.
To evaluate expressiveness across structural constraint families, the research team mapped unary, binary, and multi-perspective Declare templates into equivalent complex event processing structures without altering formal semantics. For unary structures like existence constraints, the atomic layer applies sliding filters to detect the presence or absence of target conditions within specific intervals without requiring the second layer to maintain sequence state. Forward-looking binary structures, including response patterns, use sequential linear-time operators and programmatic clock windows to capture dependencies, emitting violation tokens if responses fail to arrive. Backward-looking historical dependencies, such as precedence rules, convert forward sequences into historical lookups by validating incoming activities against cached activation records within defined lookback periods.
The operational capabilities of the runtime were demonstrated through a simulated industrial chemical reactor workflow governed by three hybrid constraints. In a continuous safety scenario enforcing a hybrid not-existence constraint, the engine monitored a rule stating that reactor temperature must never exceed ninety degrees Celsius for ten consecutive seconds. When sustained high temperatures breached this limit, the atomic layer emitted a target token, the constraint layer flagged a permanent violation, and the process layer halted the system. In an automated response scenario, holding temperatures above eighty degrees Celsius for ten seconds caused the system to launch an automated cooling task within a five-second response window. In a precedence scenario, the engine dynamically disabled a sensitive restart activity in the user interface until sensors confirmed a continuous twenty-second cooling period below fifty degrees Celsius.
To assess technical scalability under industrial Internet of Things data rates, the authors conducted synthetic stress testing inside a Docker container constrained to two gigabytes of memory and two central processing unit cores, mimicking an industrial edge gateway. The evaluation deployed ten declarative constraints simultaneously, comprising five response and five precedence templates evaluated across ingestion loads of one hundred, one thousand, ten thousand, fifty thousand, and one hundred thousand events per second over five independent runs. The team measured processing latency from the instant a finalizing event entered the atomic layer until the rule fired at the constraint layer. Across loads from one hundred to ten thousand events per second, average central processing unit utilization scaled linearly from 0.9 percent to 14.4 percent, memory held steady between 434 and 489 megabytes, median latency remained under 0.1 milliseconds, and ninety-ninth percentile tail latency stayed below 0.5 milliseconds.
Under extreme workloads of fifty thousand and one hundred thousand events per second, the prototype approached hardware saturation while maintaining functional stability. At fifty thousand events per second, central processing unit utilization reached an average of 66.9 percent with peak usage of 203.4 percent on the two-core limit, median latency remained at 0.01 milliseconds, and ninety-ninth percentile tail latency rose to 73.3 milliseconds. At one hundred thousand events per second, average processor utilization reached 192.1 percent, memory usage rose to 1,586 megabytes, median latency increased to 5.9 milliseconds, and tail latency reached 442.9 milliseconds. Supplementary hardware benchmarks on a standalone Raspberry Pi 5 single-board computer sustained latencies between 0.01 and 0.67 milliseconds from five thousand to fifty thousand events per second, maintaining delivery above 99.7 percent without offloading computations to distributed cloud clusters.
The researchers noted several technical boundaries inherent in translating rich temporal logics into event processing grammars. Complex temporal formulas containing deeply nested temporal operators cannot always compile into single continuous queries, requiring intermediate stream cascades that increase configuration overhead. Furthermore, because complex event processing engines evaluate discrete packets, rapid signal spikes occurring between physical sensor ticks remain undetectable unless ingestion layers implement continuous interpolation or higher sampling rates. Extended temporal windows spanning months can also burden memory garbage collection under high data rates, though bounded sliding windows mitigate this issue. Finally, because the runtime evaluates constraints independently without built-in conflict resolution, contradictory process specifications must be corrected at design time to prevent operational deadlocks.
Subject of Research: Real-time execution of hybrid declarative process specifications via complex event processing
Article Title: Executing discrete/continuous declarative process specifications via complex event processing
Article References: Poss, L., Schönig, S., & Maggi, F. M. (2026). Executing discrete/continuous declarative process specifications via complex event processing. Process Science, 3(1), Article 24. https://doi.org/10.1007/s44311-026-00059-3
Image Credits: AI Generated
DOI: 10.1007/s44311-026-00059-3
Keywords: Complex Event Processing, Signal Temporal Logic, Declarative Process Management, Linear Temporal Logic, Esper Engine, Cyber-Physical Systems, Industry 4.0, Event Processing Language, Runtime Enforcement, Internet of Things, Business Process Management, Edge Computing, Stream Reasoning, Automated Task Execution, Process Conformance Checking, Temporal Logic
Cite Scienmag News
Marilyn Langley. (November 23, 2026). Engineers Execute Hybrid Business Process Models Using Complex Event Processing Engines. Scienmag. https://scienmag.com/engineers-execute-hybrid-business-process-models-using-complex-event-processing-engines/
Marilyn Langley. "Engineers Execute Hybrid Business Process Models Using Complex Event Processing Engines." Scienmag, 23 November 2026, https://scienmag.com/engineers-execute-hybrid-business-process-models-using-complex-event-processing-engines/. Accessed 23 November 2026.
Marilyn Langley. "Engineers Execute Hybrid Business Process Models Using Complex Event Processing Engines." Scienmag. November 23, 2026. https://scienmag.com/engineers-execute-hybrid-business-process-models-using-complex-event-processing-engines/








