Avatar

Correct answer by
Community Advisor

Hi @Prasanna_Soni ,

 

Instead of reading list using 'javascript' activity you can use below approach:

 

1) Use 'ReadList' activity to read your list.

2) Use 'enrichment' activity to map the list with Recipient Table, if list targeting dimension is not 'nms:recipient'.

3) Use 'query' or 'split' activity to filter on your data and then send delivery.

 

Incase, you are saving list daily, then keep the name of the list same but differentiated by date.

In this case, you can use a 'javascript' activity and pass the date in a variable. Then while using 'ReadList', you  can provide dynamic date variable and constant fileName to be read from the folder location.

 

Thanks,

Jyoti

View solution in original post