Avatar

Correct answer by
Level 4

Hello @ashish_gra

 

We are using the following steps to store the rejected files. 

 

1. First we created a folder on server for rejected files. 

    For e.g    E:/data/AdobeCampaign/Import/rejects

   You can create this other location as per your server access. 

2. When importing file, then we pre calculating the full file path and name for rejected file.

  Like vars.rejectFile =  "E:/data/AdobeCampaign/Import/rejects/"+vars.fileName+".reject"

  For e.g my file name is recipinentData20200601.csv

  Then reject file full path will be "E:/data/AdobeCampaign/Import/rejects/recipinentData20200601.csv.reject"

 

 If you are using only once, then you can give the rejected file name hard coded. Otherwise you can automate it with JS.  

 

3. Then define it in the data loading activity.

  

Parvesh_Parmar_0-1654773541985.png

4. When you run data loading activity, it will store the rejected records there. 

 

Thanks. 

Parvesh.

 

 

View solution in original post