Skip to main content
Jan 26, 2021 2:33 PM UTC
Solved

Adobe Campaign : Data Extraction to multiple files

Hi All,

 

Is it possible to use Data Extraction to generate multiple files? Javascript activity gives the input to DataExtraction and it generates a file. Now my requirement is - I want to generate different files based on values in a particular field sent by Javascript code. 

 

Currently, I am generating a CSV file and If javascript is creating rows like this

Name     Address     

------------------------

ABC      Address1

DEF      Address2

XYZ      Address1

 

Is it possible for Data extraction to generate files like

Address1.csv  (having records of address1)

Address2.csv  (having records of address2)

 

As of now, I get a single file with all the records, and the file name comes from the last record iterated.

TEST2

TEST3

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Craig_Thonis
Craig_ThonisAccepted solution
Adobe Employee
Jan 27, 2021 1:48 PM UTC

Hello,

 

What you may need to do is include a split/segmentation activity in between the JS and Data extraction activity that segments the data into multiple outgoing transitions and then add multiple Data Extraction activities to produce the desired files.

 

Regards,

Craig

2 replies

Craig_Thonis
Adobe Employee
Craig_ThonisAdobe EmployeeAccepted solution
Adobe Employee
Jan 27, 2021 1:48 PM UTC

Hello,

 

What you may need to do is include a split/segmentation activity in between the JS and Data extraction activity that segments the data into multiple outgoing transitions and then add multiple Data Extraction activities to produce the desired files.

 

Regards,

Craig

Translate
Jan 27, 2021 2:46 PM UTC
Thanks, yes that works.
Translate