Using the Data Iterator node I've been trying to figure out how I can parse the following CSV file/row, Comma Delimited with Quotes and Embedded Comma.
Pretty good solution if you have strict data guidelines (comma control ). Unfortunately it looks like your solution would break if they used a field that allowed commas.
Example:
t1 = "1375","Annual","GRETA","GOLD","082189","Yes","REGINA","BRONZ","01/21/2014","BRONZ, REGINA;FRANKEN, JANET","TRANSCRIPTIONIST, PATHOLOGY","12354","Yes","No","Yes","","","Submitted to HR, other text here.","","","","2.03","01/21/2014","01/21/2014","0.00","0.00","0.00","","","01/21/2014"
I modified the example variable slightly, but it's still valid in a CSV file. The example above, when parsed by splitting on commas, will break data up into unintended columns.
//here is the output [Activity started: ForEach2890 (Run Id: 1) ForLoop ForEach2890: Executing ForEach2890_arrayValue = 1375 ForEach2890_iterationNumber = 1 ForLoop ForEach2890: Iteration 1 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = Annual ForEach2890_iterationNumber = 2 ForLoop ForEach2890: Iteration 2 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = GRETA ForEach2890_iterationNumber = 3 ForLoop ForEach2890: Iteration 3 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = GOLD ForEach2890_iterationNumber = 4 ForLoop ForEach2890: Iteration 4 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 082189 ForEach2890_iterationNumber = 5 ForLoop ForEach2890: Iteration 5 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = Yes ForEach2890_iterationNumber = 6 ForLoop ForEach2890: Iteration 6 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = REGINA ForEach2890_iterationNumber = 7 ForLoop ForEach2890: Iteration 7 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = BRONZ ForEach2890_iterationNumber = 8 ForLoop ForEach2890: Iteration 8 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 01/21/2014 ForEach2890_iterationNumber = 9 ForLoop ForEach2890: Iteration 9 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = BRONZ, REGINA;FRANKEN, JANET ForEach2890_iterationNumber = 10 ForLoop ForEach2890: Iteration 10 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = TRANSCRIPTIONIST, PATHOLOGY ForEach2890_iterationNumber = 11 ForLoop ForEach2890: Iteration 11 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 12354 ForEach2890_iterationNumber = 12 ForLoop ForEach2890: Iteration 12 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = Yes ForEach2890_iterationNumber = 13 ForLoop ForEach2890: Iteration 13 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = No ForEach2890_iterationNumber = 14 ForLoop ForEach2890: Iteration 14 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = Yes ForEach2890_iterationNumber = 15 ForLoop ForEach2890: Iteration 15 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = ForEach2890_iterationNumber = 16 ForLoop ForEach2890: Iteration 16 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = ForEach2890_iterationNumber = 17 ForLoop ForEach2890: Iteration 17 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = Submitted to HR, other text here. ForEach2890_iterationNumber = 18 ForLoop ForEach2890: Iteration 18 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = ForEach2890_iterationNumber = 19 ForLoop ForEach2890: Iteration 19 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = ForEach2890_iterationNumber = 20 ForLoop ForEach2890: Iteration 20 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = ForEach2890_iterationNumber = 21 ForLoop ForEach2890: Iteration 21 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 2.03 ForEach2890_iterationNumber = 22 ForLoop ForEach2890: Iteration 22 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 01/21/2014 ForEach2890_iterationNumber = 23 ForLoop ForEach2890: Iteration 23 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 01/21/2014 ForEach2890_iterationNumber = 24 ForLoop ForEach2890: Iteration 24 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 0.00 ForEach2890_iterationNumber = 25 ForLoop ForEach2890: Iteration 25 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 0.00 ForEach2890_iterationNumber = 26 ForLoop ForEach2890: Iteration 26 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 0.00 ForEach2890_iterationNumber = 27 ForLoop ForEach2890: Iteration 27 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = ForEach2890_iterationNumber = 28 ForLoop ForEach2890: Iteration 28 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = ForEach2890_iterationNumber = 29 ForLoop ForEach2890: Iteration 29 Activity started: End-ForEach2890 (Run Id: 0) ForEach2890_arrayValue = 01/21/2014 ForEach2890_iterationNumber = 30 ForLoop ForEach2890: Iteration 30 Activity started: End-ForEach2890 (Run Id: 0) Activity started: End-ForEach2890 (Run Id: 0) Activity completed: ForEach2890 [/code]