title: Unable to split content into multiple flowfiles from ExecuteScript's flowfile
body: <p>I have a test flow to split the dates into multiple flowfile. These dates are generated from ExecuteScript. </p>
  
  <p>But unfortunately while using <code>SplitContent</code> to split into multiple flowfiles, the flowfile attributes remain same and not splitted.</p>
  
  <p>Following is my flow:</p>
  
  <p><a href="https://i.stack.imgur.com/JJkBA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JJkBA.png" alt="enter image description here"></a></p>
  
  <p>The ExecuteScript produces flowfile attribute <code>all_first_dates</code> as follows:
  <a href="https://i.stack.imgur.com/3yMcl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3yMcl.png" alt="enter image description here"></a></p>
  
  <p>I use this in my UpdateAttribute to assign all_first_dates to <code>dates</code> attribute.
  <a href="https://i.stack.imgur.com/0F1ED.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0F1ED.png" alt="enter image description here"></a></p>
  
  <p>And as my dates values are delimited as newline, I gave configuration for splitcontent as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/RobR8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RobR8.png" alt="enter image description here"></a></p>
  
  <p>But on splitting, I find the result remains same as original.</p>
  
  <p><a href="https://i.stack.imgur.com/Hsgq8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hsgq8.png" alt="enter image description here"></a></p>