title: How to insert Date into mongoDB using NIFI
body: <p>I am trying to add data from csv file to mongoDB using NIFI 1.4.
  CSV file is containing data like:</p>
  
  <pre><code>101,ISODate(2006-01-02T15:04:05.000Z)
  </code></pre>
  
  <p>and I am using <code>PutMongoRecord</code> Processor along with <code>CSVReader 1.4.0</code> controller service.
  I have defined my schema as:</p>
  
  <pre><code>{"name" :"agent","type":"string"},
  {"name" :"transactiondate","type":"string"}
  </code></pre>
  
  <p>So as result I am getting <strong>output</strong> as <code>"ISODate(2006-01-02T15:04:05.000Z)"</code> in mongoDB as datatype as <strong>String</strong> but it should be <strong>Date</strong> . So for that I need <strong>output</strong> as <code>ISODate("2006-01-02T15:04:05.000Z")</code> . 
  Kindly help if there is any way to do so.</p>
  
  <p>TIA</p>