Support Article

Declarative rules are not triggered on running Real Time events

SA-83403

Summary

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.


Error Messages

Not Applicable


Steps to Reproduce

  1. Create a Kafka topic
  2. Add data flows for Real Time events 
  3. Configure a data flow that processes the message from Kafka 


Root Cause



This behavior is as per the Pega product design : multi-thread environments.

Resolution



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). 

 

Published July 4, 2019 - Updated September 10, 2019


0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.