Close Menu
MyKnowTech
    MyKnowTech
    • Technical Blogs
    • Career
    • Partner Spotlight
    • Videos
    • Pega News
    • Services
    LinkedIn YouTube Facebook
    MyKnowTech
    Videos

    Real-Time BIX Extraction in Pega

    Editorial TeamBy Editorial TeamMay 25, 2026Updated:May 26, 2026No Comments3 Mins Read
    Share LinkedIn Telegram Email WhatsApp Copy Link

    Real-time BIX extraction is new as of Pega 24.2. If you are on an older version, this feature is not available. Here is how it works and how to set it up.

    How the Architecture Works

    With batch BIX extraction, you run an extraction job on a schedule. With real-time extraction, every committed save on a case instance triggers a message to be published to a Kafka topic. Consuming applications read from that topic and get the data in near real time.

    The rules involved are the extract rule (defines which fields are extracted), a declare trigger (fires on committed save), the standard queue processor (handles the async publishing) and a Kafka dataset (defines where the message goes).

    Pega creates most of this automatically when you enable real-time extraction.

    Enabling Real-Time Extraction

    There are two things to check before starting. First, there is a toggle – Enable Real-Time BIX Extraction – that controls the feature at the system level.

    Make sure it is switched on.

    Second, open your extract rule and enable real-time data extraction.

    When you save and check in the extract rule with real-time extraction enabled, Pega automatically creates a declare trigger scoped to your case type. You do not need to build this manually. The declare trigger fires on every committed save, queues a message via the standard queue processor and the queue processor publishes the message to your Kafka topic using a dataset execute call.

    Application Context

    Because the declare trigger runs under the case type’s application context, make sure that context includes the BIX-related rulesets – both your application BIX ruleset and the Pega BIX ruleset. Without the right context, the extraction activity cannot resolve the necessary rules and the publishing will silently fail.

    Also verify your system runtime context includes the application so the standard queue processor runs under the correct context.

    Testing It

    Create a new case and submit it. The declare trigger fires on committed save, the queue processor picks it up, and the message is published to the Kafka topic. You can verify by running the Kafka dataset in browse mode – the extracted message should appear with the case fields defined in your extract rule.

    One thing to be aware of – currently, any committed save triggers the extraction regardless of whether any fields actually changed. You may want to add a when condition to the declare trigger to check for meaningful changes before publishing.

    The Polling API Alternative

    Pega 24.2 also introduced a set of REST APIs for real-time data extract – register, connect and fetch events. The idea is that consuming applications can register once, then poll for new messages without needing a direct Kafka connection.

    Documentation for these APIs is still thin at the time of recording. For most use cases, connecting directly to the Kafka topic as a consumer – either via a Pega data flow or standard Kafka libraries – is the simpler and more reliable approach. The polling APIs are worth watching as they mature in future versions.

    Watch the Full Walkthrough

    In the video below I walk through enabling the toggle, configuring the extract rule with a Kafka dataset, verifying the auto-created declare trigger, setting up the application context and testing with a live case creation that triggers message publishing to a Kafka topic.

    Real-time BIX extraction is a significant capability for organisations that need data warehouse feeds in near real time rather than nightly batch. With Pega handling the declare trigger and queue processor automatically, the setup is simpler than you might expect.

    Advanced
    Editorial Team

    An insightful team dedicated to empowering the Pega ecosystem with in-depth knowledge, guided by Premkumar Ganesan's vision.

    Related Posts

    Videos

    Application URL Alias in Pega

    May 25, 2026
    Videos

    Understanding Components in Pega

    May 25, 2026
    Videos

    Understanding CORS Policy in Pega

    May 25, 2026
    Videos

    Content Security Policy in Pega

    May 25, 2026
    Videos

    Five Best Practices for Creating Connectors in Pega

    May 25, 2026
    Videos

    How to Plan a Pega Upgrade – A Practical Guide

    May 25, 2026
    Videos

    How to Analyse a Heap Dump in Pega

    May 25, 2026
    Videos

    How to Store Case Attachments in External File Storage in Pega

    May 25, 2026
    Videos

    Data Encryption in Pega Using HashiCorp Vault

    May 25, 2026
    Videos

    Understanding Stack Memory in Pega

    May 25, 2026
    Search through the blog
    Tags
    activity Advanced authentication background-processing Beginner case-management Constellation data-model declarative-processing email-processing file-processing Integration pega-core-concepts pega-integration process reporting security system-administration user-interface validation
    Pega Courses

    Pega courses can be accessed at https://myknowacademy.com

    About

    MyKnowTech is a boutique Pega enablement and consulting firm – helping organizations build internal Pega capability through structured training programs, Centre of Excellence setup and hands-on architecture guidance.

    Company
    • About
    • Leadership
    • Career
    • Contact
    Resources
    • Technical Blogs
    • Career
    • Partner Spotlight
    • Videos
    • Pega News
    • Services

    ©  MyKnowTech B.V. All Rights Reserved.

    • Sitemap
    • Terms & Conditions
    • Privacy Policy