Declarative rules are not triggered on running Real Time events
Declare trigger and Declare expressions do not work. User has Kafka and messages are focused on a few topics. The messages are picked by Real Time events and processed through the activity in the destination of the data flow. The message structure is JSON. However, the Declare rules are not triggered when the Real Time events run. When the user runs the activity manually and passes the same message, the declare rules are triggered successfully.
Steps to Reproduce
- Create a Kafka topic
- Add data flows for Real Time events
- Configure a data flow that processes the message from Kafka
This behavior is as per the Pega product design : multi-thread environments.
Here’s the explanation for the reported behavior:
Data flows do not support Declare expressions. When an activity is being run in the data flow context, the inference engine is disabled ( this is the one responsible for triggering the Declare expressions).
0% found this useful