Wednesday, 23 April 2025

How to use Single Case Processing Data Flow in Pega

Create a data flow with both source and target with the "Abstract" component

 

I have used a data transform to pull cases of the input class name from the table using the data page and set in the primary page.

This data transform output is the data flow output. 

Let's build activity to run this data flow.

 

Why InputPage? -> Here we are storing the input details for the data flow, class name of this page should be the class name of the data flow.

Why Results page? -> Output from the data flow will be received in this page once the 5th step is completed.

Why RunOption page? -> Here we can give run details for the data flows if we wants In this poc, I have just created the page and used in 5th step.

In 4th step, I am setting a property value in InputPage , this property value is used inside the data transform of the data flow.

In 5th step, we are passing the required parameters for pxRunSingleCaseDDF

Let's test by running this activity.

Below is the activity tracer

Data flow ran successfully, and it retrieved only the cases of the class we have provided as input.