Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe Campaign : Data Extraction to multiple files

nitinkalra
Level 1
Level 1

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. 

 

flow.PNG

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

1 Accepted Solution
craigthonis
Correct answer by
Employee
Employee

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

View solution in original post

2 Replies
craigthonis
Correct answer by
Employee
Employee

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

View solution in original post