Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Changing the file creation limits

Updated on June 20, 2022

This content applies only to Pega Cloud environments

Control the size and number of files generated as a result of exporting interactions and decisions by changing the snapshot management settings of the WriteDataToInteractionFiles and WriteDataToDecisionFiles real-time data flow runs. By default, the runs create a file every 300 seconds or after processing 75,000 records, whichever comes first.

For more information about data flow runs, see Creating a real-time run for data flows.

Pega Customer Decision Hub Update Guide
  1. Disable the dynamic system setting that controls the export of data:
    • For interactions, set the interactionHistory/writeToStream dynamic system setting in the Pega-DecisionEngine ruleset to false.
    • For decisions, set the decision/writeToStream dynamic system setting in the Pega-DecisionEngine ruleset to false.
  2. In the header of Dev Studio, click ConfigureDecisioningDecisionsData FlowsReal-time Processing.
  3. On the Real-time processing tab, for the data flow run that you want to disable, click Manage Stop.
  4. Open the data flow run by clicking its name.
  5. On the Data Flow Run tab, click Edit.
  6. In the bottom section, click Run details.
  7. In the Snapshot management section, change the file creation limits:
    1. In the Processing time field, enter the time that needs to elapse before the run creates a file.
    2. In the Number of records field, enter the number of records that the run must process before it creates a file.
    Data flow run snapshot management settings
    The data flow run for exporting interactions is configured with default snapshot management settings.
  8. Click Submit.
  9. Enable the dynamic system setting that controls the export of data:
    • For interactions, set the interactionHistory/writeToStream dynamic system setting in the Pega-DecisionEngine ruleset to true.
    • For decisions, set the decision/writeToStream dynamic system setting in the Pega-DecisionEngine ruleset to true.
  10. On the Data Flow Run tab, restart the data flow run by clicking Restart.
Result: The data flow run that you modified starts creating files in the repository according to the new snapshot management settings.
    • Previous topic Selecting a repository for exported interactions and decisions
    • Next topic Enabling and disabling the export of interactions through a DSS

    Have a question? Get answers now.

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

    Did you find this content helpful?

    Want to help us improve this content?

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

    Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

    Close Deprecation Notice
    Contact us