Close popover
Shambhu Tiwary (ShambhuTiwary)
Mindtree Limited

Mindtree Limited
ShambhuTiwary Member since 2016 8 posts
Mindtree Limited
Posted: October 7, 2020
Last activity: October 7, 2020

Running Data Flow in background for all the Customrs in Customer Table.

I have a use case where a Data Flow runs in the background everyday at a fixed time (say 6pm). It will fetch all the customers from the Customer Table who are below age of 18 and then it will run a strategy for all of them in order to specify certain offers. 

As an output, I want to capture the CustomerID (from customer table) and the propositions assigned to each CustomerID in another table.

I used the below data flow.

Data Flow

Now, suppose there are 3 Customers with age below 18 and each got 2 offers each, then I have 6 entries in my Output table which is fine. But there is no customerID field there.

If the data flow is looping through each CustomerID in Customer Data Set, then where are those details of each of the customer stored. Can someone help me how to achieve this use case solution. And any other solution or suggestions if any.

Pega Customer Decision Hub 8.4 Decision Management Financial Services Decisioning Consultant Pega Academy