How to convert CsvContents in to CDT

I am using a plugin function "readcsvlogpaging" to read Appian logs which gives me result in type CsvContents(which contains rows(list of Text String)).

I also got a CDT which could hold these values. How do I map the list of text string to CDT fields.

Is there a way I could loop around the rows and assign each of those field values to a CDT? using expression rule or a script task?

Any help here would be appreciated. Thanks! 

  Discussion posts and replies are publicly visible