Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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 December 2, 2021

Was this useful?

50% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice